XF 2.1 JavaScript: Apply text on the xF2 text editor

Scandal

Well-known member
Hello all!

I have a question about the xF2 rich editor.

Let's say that we're on the Create Thread page and we have the javascript function "test()" which running when you click a button.

What code do I have to apply inside "test()" so when we click the button, the following applied on the create thread form?
Thread Title: Hello World!
Rich Text (Main text field) : Hello all! ;) lalala

Is that possible the text to be bbcode parsed too? (smilies, bold etc).

This is the first time I'm getting in touch with xF2 rich editor to learn how to control it. :)
 
Back
Top Bottom