1

I was triying to open a CKEDITOR dialog without a CKEDITOR editor. I have included the CKEDITOR javascript file and included

var dialogObj = new CKEDITOR.dialog( editor, 'smiley' ); 

But obviusly editor is not defined and do not know how to instance it without a CKEDITOR input. I'm using CKEDITOR 3.6.4

¿Any idea?

4

1 回答 1

0

1方式->在这种情况下,您应该添加document.ptototype.dialog并根据需要自定义所有对话框插件。

2方式->我们可以在页面中添加ckeditor并使用css隐藏它然后我们可以使用它

于 2017-06-28T06:24:35.230 回答