-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi, I have a ckeditor inside a html form. I have the editor inside the form because I need the save button to be available. Also, I have to invalidate my window for repainting it because I add components dynamically and I need the window to get the new dimensions to adapt its size to this components. When I invalidate the window, ckeditor disappears the first time. If I invalidate it again a javascript error appears. I reproduced the error in the fiddle. Here is the link http://zkfiddle.org/sample/2gl9mlq/4-CKEditor-inside-a-form
I think it happens when ckeditor is inside a native component (it could be its parent, its grandparent...)
Why is it happening? Any idea on how to solve it?Help please
Thank you
BTW I'm using ZK 6.0.3
When we using Native component, we should not update them dynamically. Check: The native Namespace#Dynamic Update
But, I change such code to use XHTML Component Set and it works fine. check: The XHTML Component Set
<zk xmlns:h="xhtml">
<window...>
<h:form style="height:100%" >
<ckeditor />
</h:form>
<button id="boton" label="invalidate"/>
<label id="texto" style="display:block"/>
</window>
</zk>
Your window is Exceeding when you run your application. You can reinstall it to run your form in the right way. error 0x8024200b here you find a good solution regarding your problem.
Asked: 2013-02-07 16:42:45 +0800
Seen: 23 times
Last updated: Oct 25 '18