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.= '