in TinyMCE-不知归路的回答
in TinyMCE
I have initialised TinyMCE as follows. I want to force line breaks when user presses enter and not the paragraphs. I\'m trying following, but not working. I\'m using TinyMCE ve
What worked for me was:
tinymce.init({ ... force_br_newlines : true, force_p_newlines : false, forced_root_block : '' });
Each linebreak is producing br tag with these settings.
SOURCE: http://www.tinymce.com/wiki.php/Configuration3x:force_br_newlines