<blockquote id="quote" class="ffs">quote:<hr height="1" noshade="noshade" id="quote" />
Originally posted by benbacardihow did you make one that updates it automatically like that<hr height="1" noshade="noshade" id="quote" /></blockquote id="quote">
what do you mean?
basics of editors: (as far as I know)
- manipulate the code
- show result so user "thinks" he's changing the text to bold while in fact he's placing "[b]"tags around it
simple implementation:
- use a textarea for the code
- create buttons that will insert whatever formatting to the code (just like the editor in this forum)
- use jscript to write the content of the textarea onto the document so you can see the
HTML result. for this, use textRange.pasteHTML([textarea contents]);