Hi Alex,
The way i got it working was:
In a constructor of 1 of the DeckPanels, i have initialized an
instance of CKEditor like:
....
private CKEditor toBeRemovedEditor;
/**
* Default Constructor
*/
public WiresEditDeckPanel() {
super(Unit.EM);
titleEditorConfig = getCKConfigTitle();
synopsisEditorConfig = getCKConfigSynopsis();
storyEditorConfig = getCKConfigStory();
// Temporary CKEditor is being initialized, this will be removed
once the page is populated
toBeRemovedEditor = new CKEditor();
titleSynopsisPanel.add(toBeRemovedEditor);
.......(All other ckeditor instances are initialized
after this.)
And in a method, which gets called, just before this deckpanel is made
visible, i remove this CKeditor instance from the panel:
private void populateWireEditDeckPanelSubWidgets() {
// Removing the CKEditor instance, that was added temporarily
titleSynopsisPanel.remove(toBeRemovedEditor);
....
This was my case when i load all ckeditor instances on application
load. You could do the same thing, whenever your view gets loaded/
initialized anytime in the application's timeline.
Hope this helps.
Thanks