[thelist] Tinymce & extra paragraphs
Bob Meetin
bobm at dottedi.biz
Fri Aug 8 10:55:28 CDT 2008
Paul Bennett wrote:
> Hi all,
>
> I've set up expression engine core with tinymce as a rich text editor for a client and am finding that tinymce is adding about 3 paragraph breaks between any other element (p, li etc)
>
> This is a real pain - I've had a look at the config options and can't figure out what's causing this. Can anyone offer any pointers?
>
> TIA,
> Paul
>
Paul, this is an example of how I am using, implementing tinymce.
Notice the force_p_newlines set to false. This might help. Don't
know. The other thing about tinymce is that it may inherit some
general page formatting if you leave it unspecific and this may really
mess up the appearance of the toolbar itself.
-Bob
<script type="text/javascript">
tinyMCE.init({
theme_advanced_toolbar_location : "top",
mode : "textareas",
theme: "advanced",
theme_advanced_buttons1 :
"bold,italic,justifyleft,justifycenter,justifyright,bullist,numlist,outdent,indent,formatselect,undo,redo,removeformat,cleanup,link,unlink,image,table,code,charmap",
theme_advanced_buttons2 :
"cut,copy,paste,undo,redo,removeformat,cleanup,link,unlink,image,table,code",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
plugins : "preview",
theme_advanced_buttons1_add : "preview",
force_p_newlines : "false",
plugin_preview_width : "500",
plugin_preview_height : "600",
plugins : "table",
theme_advanced_buttons3_add : "tablecontrols",
table_styles : "Header 1=header1;Header 2=header2;Header 3=header3",
table_cell_styles : "Header 1=header1;Header 2=header2;Header
3=header3;Table Cell=tableCel1",
table_row_styles : "Header 1=header1;Header 2=header2;Header
3=header3;Table Row=tableRow1",
table_cell_limit : 200,
table_row_limit : 50,
table_col_limit : 10
});
</script>
More information about the thelist
mailing list