mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
PHP8 Fix correction on TinyMce
This commit is contained in:
parent
ddb9c801af
commit
ce8cb87e24
@ -189,7 +189,7 @@ exit;
|
|||||||
class wysiwyg
|
class wysiwyg
|
||||||
{
|
{
|
||||||
public $js;
|
public $js;
|
||||||
public $config = array();
|
public $config;
|
||||||
public $configName;
|
public $configName;
|
||||||
|
|
||||||
function renderConfig($config='')
|
function renderConfig($config='')
|
||||||
@ -207,7 +207,7 @@ class wysiwyg
|
|||||||
},\n";
|
},\n";
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// $text .= $this->config; // Moc: temporary fix for BC with PHP 5.3: https://github.com/e107inc/e107/issues/614
|
$text .= $this->config; // Moc: temporary fix for BC with PHP 5.3: https://github.com/e107inc/e107/issues/614
|
||||||
|
|
||||||
$text .= "\n});";
|
$text .= "\n});";
|
||||||
|
|
||||||
@ -868,7 +868,7 @@ class wysiwyg
|
|||||||
|
|
||||||
// file_put_contents(e_LOG."wysiwyg.log", print_r($editorCSS,true));
|
// 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_css'] = json_encode($editorCSS);
|
||||||
$ret['content_style'] = "div.clearfix { border-top:1px solid red } ";
|
$ret['content_style'] = "div.clearfix { border-top:1px solid red } ";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user