I've placed the ckEditor in my block but it is showing two Ckeditor.
there is one possible way -
The TestBlock is used two times on screen thats why two ckEditor show.
You can check with browser console if two id generate with same name.or try to create one demo application and use this Editor if same problem happing than something in js issue.But I am also using in my project but its working fine.
Hi @Saransh ,
Can you post your code here so we can check.
Have you checked your code you are using single time of block in screen?
here I've placed it.
Is it possible to upload oml here?
no deepa that is something confidential. But any idea why it is happening?
Yes you were right @Deepa Tiwari
Now how will I remove that???
It is solved now, issue was - I was using ckEditor in if condition. Now I've placed it seperately.
@Deepa Tiwari thanks for your inputs.
cool.
Hi @Saransh , I'm facing the same issue you were, but my ckEditor isn't enclosed in any if.
Could you provide more details on your solution please?
if it is possible can u pls share your OML?
Unfortunately I cannot. Anyway and going forward, I had to make changes on the config script to get rid of the second ckEditor. Thanks anyway!
Ok fine but changing the config of CKeditor will not resolve your problem.
Some CSS of your application might be overriding the CK editor'CSS.
Hi Miguel, can you please share the change you made? I am facing the same issue with CK Editor
Hi Anuj ,Iam facing the same issue in CKeditor. Is this issue fixed in your end ?
Issue Resolved by Cleaning Up Existing CKEditor Instances Before Reload
I encountered an issue where the CKEditor was being initialized multiple times, particularly when switching languages or reloading the editor configuration. This resulted in duplicate instances and unexpected behavior.
To resolve this, I updated the JavaScript in the OnReady handler of the CKEditor with the attached txt file to destroy any existing instance before initializing a new one.