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:
@@ -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 } ";
|
||||
|
Reference in New Issue
Block a user