tinyMCE - submit via AJAX problem
November 12, 2008
TinyMCE is a great editor, but if you try to use mootools or any other javascript framework to submit your post, the post variables of the ( former ) textarea will stay blank.
A simple addition to the submit button resolves this issue:
onclick="tinyMCE.triggerSave(true,true);"
After that, your post variables are all submitted as usual.
tinyMCE - startup without p tag
November 12, 2008
Since the new release of tinyMCE (3.x), every opened editor starts with a p tag. To circumvent this behaviour, place the following line into your init function of the editor:
example:
tinyMCE.init({
...
forced_root_block : false,
...
That’s it. The editor now starts without any html tags.




Recent Comments