Switching tabs in multiview Tabbar causes trouble with TinyMCE.
Let me explain a little more. I have a datatable of products on one tab and a list of products on another tab. I also have form bound to the list on that second tab. When a product is selected from the list the form is populated accordingly so I may edit the product. One of the elements in the form is a description rendered in a tinymce-editor view. At first it works fine. I can select various products from the list and the form with the name, code and description binds correctly. But when I switch to the first tab (datatable) and come back to the second tab (product list + form), the tinymce-editor view in the form does not bind the description anymore, although the name of code of the product does still bind in the form.
Hi, any updates with this? When add add the keepViews switch, it does preserve the editor, however other components don’t show. I have a tableview in another tab (that is initially hidden) that doesn’t display? odd…
Yep, moving complex text editors from one container to another will not work ( moving or detaching from DOM will unload iframes and will break editors )
Recreating must work though ( destroying old view and creating new one in the same place )