Skip to content

Commit

Permalink
Fixes #4223 - Fix for bootstrap style inside TinyMce. Thanks go to @t…
Browse files Browse the repository at this point in the history
  • Loading branch information
CaMer0n committed Nov 30, 2020
1 parent 5a7e382 commit 7214b75
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e107_plugins/tinymce4/wysiwyg.php
Original file line number Diff line number Diff line change
Expand Up @@ -851,13 +851,15 @@ function getConfig($config=false)
$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);
Expand Down

0 comments on commit 7214b75

Please sign in to comment.