From e9bfa71556ca3f0eef000bd6487812c25bbc944f Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Wed, 11 Feb 2015 11:49:06 +0100 Subject: [PATCH] syntax --- htdocs/core/class/doleditor.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/core/class/doleditor.class.php b/htdocs/core/class/doleditor.class.php index 2bdfb33f727..f748af42614 100644 --- a/htdocs/core/class/doleditor.class.php +++ b/htdocs/core/class/doleditor.class.php @@ -166,6 +166,7 @@ class DolEditor $out.= ''; + if ($this->tool == 'ckeditor') { if (! defined('REQUIRE_CKEDITOR')) define('REQUIRE_CKEDITOR','1'); @@ -174,6 +175,7 @@ class DolEditor $skin='moono'; // default with cdeditor 4 $htmlencode_force=preg_match('/_encoded$/',$this->toolbarname)?'true':'false'; + $out.= '