我在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