(Requires: 2.1.1)
This option enables you to make sure that any non block elements or text nodes are wrapped in block elements. For example something will result in output like: <p><strong>something</strong></p>
. This option is enabled by default as of 3.0a1. If you set this option to false it will never produce p
tags on enter or automatically it will instead produce br
elements and Shift+Enter will produce a p
.
Example of usage of the forced_root_block option:
tinyMCE.init({
...
forced_root_block : 'p'
});
Was this article helpful? Yes - No
Well, that's awkward . Would you mind opening an issue or helping us out?
Thanks for the feedback!
Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.