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

Regex fixes and path fix for TinyMce.

This commit is contained in:
Cameron
2020-12-18 13:07:45 -08:00
parent 5988595989
commit 7238743542
9 changed files with 13 additions and 10 deletions

View File

@@ -858,6 +858,10 @@ class wysiwyg
$pathAn .= '/';
$pathAn .= e107::getLibrary()->getProperty('animate.css', 'path'); // sub-folder
$pathAn = $tp->replaceConstants($pathAn, 'abs');
$pathFA = $tp->replaceConstants($pathFA, 'abs');
$pathBS = $tp->replaceConstants($pathBS, 'abs');
$editorCSS = array(
0 => $pathBS . '/css/bootstrap.min.css',
1 => $pathFA . '/css/font-awesome.min.css',
@@ -868,7 +872,7 @@ class wysiwyg
// file_put_contents(e_LOG."wysiwyg.log", print_r($editorCSS,true));
// $editorCSS = $tp->replaceConstants($editorCSS, 'abs');
// $editorCSS = $tp->replaceConstants($editorCSS, 'abs');
$ret['content_css'] = json_encode($editorCSS);
$ret['content_style'] = "div.clearfix { border-top:1px solid red } ";