Forum Moderators: open

Message Too Old, No Replies

Making a WYSIWYG

         

music_man

3:48 am on Apr 25, 2007 (gmt 0)

10+ Year Member



Hi,

I am interested in making my own lightweight WYSIWYG editor. I'm not interested in using a premade one.

How do they work?

coopster

11:13 pm on Apr 26, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



You start with a <textarea> and use icons or text above/below the textarea along with some JavaScript to grab the inner text and modify it on the fly. To understand the basics, have a peek at the Mozilla midas demo page [mozilla.org].

music_man

11:25 pm on Apr 29, 2007 (gmt 0)

10+ Year Member



It is the modifying on the fly which I am interested in. How can you display the innerText of the texarea over the top of the textarea?

Thanks for the link, I would like to learn myself though.