mirror of
https://github.com/e107inc/e107.git
synced 2025-09-01 02:21:58 +02:00
TinyMce4 fixes. Video and Glyph plugins working again. Editor toggle button working. And embedded video thumbnail workaround added.
This commit is contained in:
@@ -306,6 +306,13 @@ class wysiwyg
|
||||
$ret[$k] = $xml;
|
||||
}
|
||||
|
||||
$tPref = e107::pref('tinymce4');
|
||||
|
||||
if(!empty($tPref['paste_as_text']))
|
||||
{
|
||||
$ret['paste_as_text'] = true;
|
||||
}
|
||||
|
||||
$ret['convert_fonts_to_spans'] = false;
|
||||
$ret['content_css'] = e_PLUGIN_ABS.'tinymce4/editor.css,https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css,http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css';
|
||||
|
||||
|
Reference in New Issue
Block a user