Adding PRE tag functionality

Aug 27, 2009 at 3:33 PM

Hi,

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,

 

Martin

Nov 5, 2009 at 9:37 AM

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