我在CKEditor 3.4.1的instanceReady事件中设置焦点时遇到问题。我已经尝试了以下两种方式,但他们都不是一直工作。CKReitor .focus()在instanceReady事件不起作用
CKEDITOR.on('instanceReady', function(e) { CKEDITOR.instances.editor1.focus(); });
CKEDITOR.replace('editor1',
{
on :
{
instanceReady : function(ev)
{
ev.editor.focus();
}
}
});
为什么给定的解决方案,为你没有工作的任何更新? – Nenotlep 2013-03-05 13:08:18