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

Fixes #4223 - Fix for bootstrap style inside TinyMce. Thanks go to @tgtje

This commit is contained in:
Cameron
2020-11-30 12:20:57 -08:00
parent 5a7e382efb
commit 7214b75794

View File

@@ -851,13 +851,15 @@ class wysiwyg
$pathAn .= e107::getLibrary()->getProperty('animate.css', 'path'); // sub-folder
$editorCSS = array(
0 => $pathBS . '/dist/css/bootstrap.min.css',
0 => $pathBS . '/css/bootstrap.min.css',
1 => $pathFA . '/css/font-awesome.min.css',
2 => e_PLUGIN_ABS . 'tinymce4/editor.css',
3 => $pathAn . 'animate.min.css',
);
// file_put_contents(e_LOG."wysiwyg.log", print_r($editorCSS,true));
$editorCSS = $tp->replaceConstants($editorCSS, 'abs');
$ret['content_css'] = json_encode($editorCSS);