Closed Hrumpa closed 6 years ago
This can help to simplify the use of the editor inside forms. Not a big issue though. For now it is possible to assign value to the input like this:
ignoreHtml: true, onload: function (editor) { $(formSelector).submit(function () { $(inputSelector).val(JSON.stringify(editor.getData())); }); }
Thanks for idea! Will add in future releases.
This can help to simplify the use of the editor inside forms. Not a big issue though. For now it is possible to assign value to the input like this: