jhambley@mac.co
04-10-2004, 09:25 AM
I have the need to allow users to enter text into as multiline text and then select certain text with the mouse and apply HTML fomating tags to that text.
For example:
1. The user types in "Hello World. I'm really enjoying the day".
2. Selects the words "really enjoying" using the mouse
3. Clicks on a button called "Bold" and the code adds the <b> and </b> tags into the text so the text can be displayed later in a view as bolded.
Is this possible? Has anyone written an simple HTML editor like this?
For example:
1. The user types in "Hello World. I'm really enjoying the day".
2. Selects the words "really enjoying" using the mouse
3. Clicks on a button called "Bold" and the code adds the <b> and </b> tags into the text so the text can be displayed later in a view as bolded.
Is this possible? Has anyone written an simple HTML editor like this?