1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 06:07:32 +02:00

Keep wysiwyg.php out of the online table.

This commit is contained in:
CaMer0n
2012-08-18 21:01:19 +00:00
parent 8653c34121
commit 0f237c427e

View File

@@ -7,6 +7,7 @@
| $Id$ | $Id$
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
$_E107['no_online'] = true;
require_once("../../class2.php"); require_once("../../class2.php");
ob_start(); ob_start();
ob_implicit_flush(0); ob_implicit_flush(0);
@@ -259,7 +260,7 @@ class wysiwyg
'apply_source_formatting' => 'false', 'apply_source_formatting' => 'false',
'invalid_elements' => 'p,font,align,script,applet', 'invalid_elements' => 'p,font,align,script,applet',
'auto_cleanup_word' => 'true', 'auto_cleanup_word' => 'true',
// 'cleanup' => 'false', 'cleanup' => 'true',
'convert_fonts_to_spans' => 'true', 'convert_fonts_to_spans' => 'true',
'trim_span_elements' => 'true', 'trim_span_elements' => 'true',
'inline_styles' => 'true', 'inline_styles' => 'true',
@@ -303,7 +304,7 @@ class wysiwyg
'paste_unindented_list_class' => 'unindentedList', // for paste plugin - specify what class to assign to the UL list of middot cl's 'paste_unindented_list_class' => 'unindentedList', // for paste plugin - specify what class to assign to the UL list of middot cl's
'paste_convert_headers_to_strong' => 'true', // for paste plugin - converts H1-6 elements to strong elements on paste 'paste_convert_headers_to_strong' => 'true', // for paste plugin - converts H1-6 elements to strong elements on paste
'paste_insert_word_content_callback' => 'convertWord', // for paste plugin - This callback is executed when the user pastes word content 'paste_insert_word_content_callback' => 'convertWord', // for paste plugin - This callback is executed when the user pastes word content
'auto_cleanup_word' => 'false' // auto clean pastes from Word 'auto_cleanup_word' => 'true' // auto clean pastes from Word
); );
} }