1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 15:46:44 +02:00

Paste as plain-text with line-breaks.

This commit is contained in:
CaMer0n
2012-08-18 22:19:37 +00:00
parent 0f237c427e
commit 92865c694e

View File

@@ -253,6 +253,7 @@ class wysiwyg
'dialog_type' => "modal",
// 'theme_advanced_source_editor_height' => '400',
// 'theme_advanced_statusbar_location' => 'bottom',
'theme_advanced_resizing' => 'false',
'remove_linebreaks' => 'true',
@@ -295,9 +296,13 @@ class wysiwyg
{
$this->config += array(
'paste_text_sticky' => 'true',
'paste_text_sticky_default' => 'true',
'paste_text_linebreaktype' => 'br',
'remove_linebreaks' => 'false', // remove line break stripping by tinyMCE so that we can read the HTML
'paste_create_paragraphs' => 'false', // for paste plugin - double linefeeds are converted to paragraph elements
'paste_create_linebreaks' => 'false', // for paste plugin - single linefeeds are converted to hard line break elements
'paste_create_linebreaks' => 'true', // for paste plugin - single linefeeds are converted to hard line break elements
'paste_use_dialog' => 'true', // for paste plugin - Mozilla and MSIE will present a paste dialog if true
'paste_auto_cleanup_on_paste' => 'true', // for paste plugin - word paste will be executed when the user copy/paste content
'paste_convert_middot_lists' => 'false', // for paste plugin - middot lists are converted into UL lists