Merge branch 'ent-11415-15702-no-existe-editor-html-al-configurar-el-widget-panel-con-un-mensaje' into 'develop'

Ent 11415 15702 no existe editor html al configurar el widget panel con un mensaje

See merge request artica/pandorafms!6003
This commit is contained in:
Matias Didier 2023-06-26 14:06:05 +00:00
commit af33f168b6
1 changed files with 9 additions and 2 deletions

View File

@ -57,7 +57,14 @@ HTML::printForm(
);
$output .= '<script>';
$output .= 'dashboardInitTinyMce("'.ui_get_full_url(false, false, false, false).'")';
$output .= 'tinymce.init({
selector: "#textarea_text",
setup : function(ed) {
ed.onChange.add(function(e) {
tinyMCE.triggerSave();
console.log($("#textarea_text").val());
});
}
});';
$output .= '</script>';
echo $output;