mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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 .= '<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>';
|
$output .= '</script>';
|
||||||
|
|
||||||
echo $output;
|
echo $output;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user