I'm loading a form with CKEditor form types dynamically using Ajax.
The form is rendered using $this->renderView and set with theElement.html(renderedView) to show it in a DIV. The first time posting the form does not transmit values to the controller. The second time rendering the form shows following warning in the console: [CKEDITOR] Error code: editor-destroy-iframe. Submitting the form is sending the value to the controller. It then works each time I submit the form. After refreshing the page doing a page reload, it's behaving like the first attempt. Any ideas what happens or how I can fix that?
I'm loading a form with CKEditor form types dynamically using Ajax. The form is rendered using $this->renderView and set with theElement.html(renderedView) to show it in a DIV. The first time posting the form does not transmit values to the controller. The second time rendering the form shows following warning in the console: [CKEDITOR] Error code: editor-destroy-iframe. Submitting the form is sending the value to the controller. It then works each time I submit the form. After refreshing the page doing a page reload, it's behaving like the first attempt. Any ideas what happens or how I can fix that?
Thanks in advance! Markus