LSformElement :: wysiwyg: Fix loading TinyMCE JS

This commit is contained in:
Benjamin Renard 2020-05-20 18:21:05 +02:00
parent fc3912b48b
commit a9860f83de

View file

@ -43,7 +43,7 @@ class LSformElement_wysiwyg extends LSformElement {
public function getDisplay(){
$return = $this -> getLabelInfos();
if (!$this -> isFreeze()) {
LSsession :: addJSscript('tinymce.min.js', 'includes/libs/tinymce/js/tinymce');
LSsession :: addLibJSscript('tinymce/js/tinymce/tinymce.min.js');
LSsession :: addJSconfigParam(
$this -> name,
array(