Creating mini-html editor

T

Terry Murray

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
 
J

Jeff Cochran

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.

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
 
G

grw

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

Jeff Cochran said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top