This project has moved and is read-only. For the latest updates, please go here.

Adding PRE tag functionality

Aug 27, 2009 at 3:33 PM


Great textarea editor! I'd like to add "pre" tag functionality. How can I do that? I tried adding a custom button and adding this.pasteHTML("<pre></pre>") but that didn't work.

Thank you,



Nov 5, 2009 at 9:37 AM

try    this.formatBlock('<pre>');