Hello
I use CKEditor 3.4.1 and i use JQuery.
With JQuery i create 2 tabs.
Each tab have an accordion.
On the 2nd tab, i click on a link and a CKEditor form is create. I go on the first tab, i click on a link and a new CKEditor form is create.
But when i return on my 2nd tab et when i click on a link, CKEditor form is not create. There is just the textarea.
I destroy instance of CKEditor when i click on a link with this code :
Someone can help me ?
thanks
I use CKEditor 3.4.1 and i use JQuery.
With JQuery i create 2 tabs.
Each tab have an accordion.
On the 2nd tab, i click on a link and a CKEditor form is create. I go on the first tab, i click on a link and a new CKEditor form is create.
But when i return on my 2nd tab et when i click on a link, CKEditor form is not create. There is just the textarea.
I destroy instance of CKEditor when i click on a link with this code :
if(CKEDITOR.instances['id']) { delete CKEDITOR.instances['id']; }
Someone can help me ?
thanks
Re: CKEditor form not create
You need to call the CKEditor destroy API method. Try:
CKEDITOR.instances.myInstanceId.destroy();
See: http://docs.cksource.com/ckeditor_api/s ... ml#destroy