mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 14:17:49 +02:00
Minor fixes to TinyMce
This commit is contained in:
@@ -98,6 +98,8 @@ class wysiwyg
|
|||||||
|
|
||||||
source = source.replace(/rel=\"external\"/, 'target=\"_blank\"');
|
source = source.replace(/rel=\"external\"/, 'target=\"_blank\"');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
";
|
";
|
||||||
|
|
||||||
// Convert e107 paths to TinyMce Paths.
|
// Convert e107 paths to TinyMce Paths.
|
||||||
@@ -269,7 +271,9 @@ class wysiwyg
|
|||||||
|
|
||||||
// 'theme_advanced_statusbar_location' => 'bottom',
|
// 'theme_advanced_statusbar_location' => 'bottom',
|
||||||
'theme_advanced_resizing' => 'true',
|
'theme_advanced_resizing' => 'true',
|
||||||
|
'remove_linebreaks' => 'false',
|
||||||
'extended_valid_elements' => '',
|
'extended_valid_elements' => '',
|
||||||
|
'apply_source_formatting' => 'true',
|
||||||
'invalid_elements' => 'p,font,align,script,applet,iframe',
|
'invalid_elements' => 'p,font,align,script,applet,iframe',
|
||||||
'auto_cleanup_word' => 'true',
|
'auto_cleanup_word' => 'true',
|
||||||
'convert_fonts_to_spans' => 'true',
|
'convert_fonts_to_spans' => 'true',
|
||||||
@@ -277,13 +281,15 @@ class wysiwyg
|
|||||||
'inline_styles' => 'true',
|
'inline_styles' => 'true',
|
||||||
'auto_resize' => 'true',
|
'auto_resize' => 'true',
|
||||||
'debug' => 'false',
|
'debug' => 'false',
|
||||||
'force_br_newlines' => 'false',
|
'force_br_newlines' => 'true',
|
||||||
'forced_root_block' => '',
|
'forced_root_block' => '',
|
||||||
|
'convert_newlines_to_brs' => 'false', // will break [list] if set to true
|
||||||
'force_p_newlines' => 'false',
|
'force_p_newlines' => 'false',
|
||||||
'entity_encoding' => 'raw',
|
'entity_encoding' => 'raw',
|
||||||
'convert_fonts_to_styles' => 'true',
|
'convert_fonts_to_styles' => 'true',
|
||||||
'remove_script_host' => 'true',
|
'remove_script_host' => 'true',
|
||||||
'relative_urls' => 'true',
|
'relative_urls' => 'true',
|
||||||
|
'preformatted' => 'true',
|
||||||
'document_base_url' => SITEURL,
|
'document_base_url' => SITEURL,
|
||||||
'theme_advanced_styles' => 'border=border;fborder=fborder;tbox=tbox;caption=caption;fcaption=fcaption;forumheader=forumheader;forumheader3=forumheader3',
|
'theme_advanced_styles' => 'border=border;fborder=fborder;tbox=tbox;caption=caption;fcaption=fcaption;forumheader=forumheader;forumheader3=forumheader3',
|
||||||
'verify_css_classes' => 'false'
|
'verify_css_classes' => 'false'
|
||||||
|
Reference in New Issue
Block a user