I'm using jQuery UI tabs in AJAX mode, so when I click on a tab it loads the tab contents from a URL. I have one tab which contains a CKFinder control in the html that's returned by the AJAX call. After loading the tab contents it calls CKFinder.create() and it overwrites the body element of the whole page with the CKFinder control. Usually the CKFinder control creates an iframe and puts itself inside, but it seems that the whole page gets replaced with the contents of the iframe. The same thing happens in version 2.0.1 and 2.2.1. Does anybody have any suggestions?
Wed, 05/09/2012 - 20:57
#1
Re: ckfinder returned in ajax call
Here's a very simple example that shows the problem. When you click the "Add CKFinder" button, the button disappears and CKFinder replaces the whole body. I'm using jQuery but only for the .html() function. Is there a way to avoid this problem? I want a way to load CKFinder at runtime without using a popup.
Re: ckfinder returned in ajax call
Re: ckfinder returned in ajax call
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!