Connecting Tech Pros Worldwide Forums | Help | Site Map

Creating mini-html editor

Terry Murray
Guest
 
Posts: n/a
#1: Jul 20 '05
I have been given the task of adding a component to a control panel that
will act as a miniature html editor.
I would like to know how to determine the position of the cursor at any
point within a textarea that I will be using to capture the users html data.
The other thing I would like to do is insert text to that determined cursor
position.

Any suggestions

Thanks in advance



Jeff Cochran
Guest
 
Posts: n/a
#2: Jul 20 '05

re: Creating mini-html editor


On Mon, 13 Oct 2003 21:04:22 GMT, "Terry Murray" <tgmurray@rogers.com>
wrote:
[color=blue]
>I have been given the task of adding a component to a control panel that
>will act as a miniature html editor.
>I would like to know how to determine the position of the cursor at any
>point within a textarea that I will be using to capture the users html data.
>The other thing I would like to do is insert text to that determined cursor
>position.[/color]

I reduced the newsgroup list you posted to to just the relevant ones (
this isn't an IIS issue, and it's not a database issue, and you missed
the components group anyway...).

First, I'd think you'd use one of the existing components for HTML
editing instead of reinventing the wheel. Second, if ASP.NET is a
possibility, you'd likely be better off working in that direction.
What you seem to want is a WYSIWYG editor, which is not an easy task
as a stand alone, let alone a component. You may be looking at some
kind of applet instead.

Jeff
grw
Guest
 
Posts: n/a
#3: Jul 20 '05

re: Creating mini-html editor


Why reinvent the wheel?
http://www.editize.com/

"Jeff Cochran" <jcochran.nospam@naplesgov.com> wrote in message
news:3f8be35a.684787582@msnews.microsoft.com...[color=blue]
> On Mon, 13 Oct 2003 21:04:22 GMT, "Terry Murray" <tgmurray@rogers.com>
> wrote:
>[color=green]
> >I have been given the task of adding a component to a control panel that
> >will act as a miniature html editor.
> >I would like to know how to determine the position of the cursor at any
> >point within a textarea that I will be using to capture the users html[/color][/color]
data.[color=blue][color=green]
> >The other thing I would like to do is insert text to that determined[/color][/color]
cursor[color=blue][color=green]
> >position.[/color]
>
> I reduced the newsgroup list you posted to to just the relevant ones (
> this isn't an IIS issue, and it's not a database issue, and you missed
> the components group anyway...).
>
> First, I'd think you'd use one of the existing components for HTML
> editing instead of reinventing the wheel. Second, if ASP.NET is a
> possibility, you'd likely be better off working in that direction.
> What you seem to want is a WYSIWYG editor, which is not an easy task
> as a stand alone, let alone a component. You may be looking at some
> kind of applet instead.
>
> Jeff[/color]


Closed Thread


Similar JavaScript / Ajax / DHTML bytes