New Lines

edited November -1 in General Discussion

The default configuration for TinyMCE seems to insert a two new lines whenever you hit enter and sometimes I only want one. You can make this change in the "tinymce.module" file, by replacing this:

$tinymce_invoke = <<<EOD
<script type="text/javascript">
tinyMCE.init({
$tinymce_settings
});
</script>
EOD;

 With this:

$tinymce_invoke = <<<EOD
<script type="text/javascript">
tinyMCE.init({
$tinymce_settings,
force_br_newlines : 'true',
force_p_newlines : 'false'
});
</script>
EOD;

 

Comments

Sign In or Register to comment.