![]() '#description' => t('This option controls if linebreak characters should be removed from output HTML or not. '#description' => t('If you set this option to true, font size, font family, font color and font background color will be replaced by inline styles.') '#title' => t('Convert tags to styles'),$tinymce_mod_path = drupal_get_path('module', 'tinymce') Ģnd Edit: $form = array( I'm updating priority to critical because this issue is a true pain in the neck for sites where the use of the editor is optional.ġst Edit: $init = $settings ? $settings : 'false' If you change the setting "Convert new lines to BRs" from the default "False" to "True", the problem will be solved because the newline characters will be replaced with HTML linebreaks. These lines add two new settings in the admin panel for the module, and you can manipulate them to change the behavior of TinyMCE. I encountered this problem long ago, and solved it by adding the following lines to tinymce.module (sorry, don't know how to create a proper patch) so that I could further configure the behavior of the editor. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |