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:
commit
af33f168b6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue