Redirect editor form to an div instead of popup
Redirect editor form to an div instead of popup
Imagine i do this:
var edt=obj.editor.create({
title: JS_CREATE_RECORD_TITLE, //PMA
buttons: [
{
label: JS_CANCEL, //PMA
fn: function () {
this.close();
}
},
JS_CREATE //PMA
]
});
**$('#evaluations_xtForm').html(edt);**
I would like that the html result of editor.create gooes to $('#evaluations_xtForm')
Thanks
Edited by Allan - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.
This discussion has been closed.
Answers
There is currently no option quite like that in Editor I'm afraid. You could however, create a custom display controller which will show the Editor form in whatever element you wish.
Allan
thanks