I defined a custom button at toolbar named MoreButton,
It is runing OK in the first textarea in a page,but the second textarea in same page dont show this button.why??
I asked this question at CKEditor's officially community(http://cksource.com/forums/viewtopic.php?f=11&t=20933&p=53180#p53180), then get the resolve method,like the following code:
The problem here is that the second time the CKEDITOR.appendTo(or replace) is called, all the files (core, plugin, configuration, ...) are already loaded in memory,so the event pluginsLoaded can NOT fired again......

解决CKEditor在同一页面多个实例中自定义按钮仅首次显示的问题。通过监听pluginsLoaded事件并手动添加命令与按钮,确保每次编辑器加载都能正确显示自定义按钮。


被折叠的 条评论
为什么被折叠?



