I’m not sure if your problem is with all browsers or just with Firefox. If so, just try if it works by changing the following line in the plugin script from
$res .= ‘forced_root_block : “”,’.$le;
to
$res .= ‘forced_root_block : “p”,’.$le;
For me that did the trick (even since TinyMCE says that this is set to p by default if left empty).
I did some additional changes but they should have no influence on this problem (I wanted new paragraphs on enter and had problems with the right language setting). Just in case… All my changes:
$res .= ‘force_p_newlines : false,’.$le; TO $res .= ‘force_p_newlines : true,’.$le;
$res .= ‘force_br_newlines : true,’.$le; TO $res .= ‘force_br_newlines : false,’.$le;
$res .= ‘forced_root_block : “”,’.$le; TO $res .= ‘forced_root_block : “p”,’.$le;
$res .= ‘save_callback : “brstonewline”,’.$le; TO //$res .= ‘save_callback : “brstonewline”,’.$le;
$res .= ‘language : “”‘.$le; TO $res .= ‘language : “‘.$mcecomment_options[‘language’].'”‘.$le;
echo ‘<script type=”text/javascript” src=”‘.get_option(‘siteurl’).’/wp-includes/js/tinymce/langs/wp-langs-‘ . $mcecomment_options[‘language’] . ‘.js”></script>’.”\n”;
TO
echo ‘<script type=”text/javascript” src=”‘.get_option(‘siteurl’).’/wp-includes/js/tinymce/langs/’ . $mcecomment_options[‘language’] . ‘.js”></script>’.”\n”;