Redirect editor form to an div instead of popup

Redirect editor form to an div instead of popup

pmengopmengo Posts: 74Questions: 37Answers: 2
edited October 2016 in Editor

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.

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    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

  • pmengopmengo Posts: 74Questions: 37Answers: 2

    thanks

This discussion has been closed.