php - How can I make a silent mode for TinyMCE editor -


I want to create a TinyMCE editor on the page, but to boot it and focus on action How can I do this, please, you can advise me.


Depression

The page may contain elements of TINMEE, and the page will hang. Therefore, the field should be converted to TinyMCE as needed, initially it is just Textera.

In the document shows how you can turn the editor on and off in Javascript. Just enter your & lt; Textarea & gt; Attach a onclick handler to which turns on the editor. Here's some jQuery-based code that I have not tested, but it should work ...

 Click the $ ("textarea") (function () {if (! TinyMCE Get (this .id)) {tinyMCE.execCommand ('mceAddControl', incorrect, this.id);}}}  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -