CKEditor's focus manager focusing on the wrong editor -
i building ckeditor plugin, not using ckeditor's dialog.
instead, using dialog widget. dialog contains text input , few checkboxes.
this in doing:
var dialogue = y.one('#blah'); //get dialog node using yui ckeditor.plugins.add('myplugin', { init: function(editor){ editor.focusmanager.add(new ckeditor.dom.element(dialogue.getdomnode()), true); } } i have 2 ckeditor instances on page created using ckeditor.inline().
the problem when interact or focus on text inputs or checkboxes in dialogue, focuses on second editor though supposed focused on first editor.
what causing problem?
Comments
Post a Comment