Customize Ckeditor plug-in into Domino 8.5.3

落爺英雄遲暮 提交于 2019-12-08 10:36:12

问题


I I have read this url first official

and this another blog

But they only describe how the toolbar parameter 'Large', 'Medium' etc. work.

How can I hide, for example, the plug-in "Full-Screen" or enable the native plug-in of Ckeditor 3.X named "spell-check"?


回答1:


You link to two articles that both mention that you can configure the CKEditor with exactly the buttons you want.

From http://www-10.lotus.com/ldd/ddwiki.nsf/dx/CKEditor_in_XPages_in_NotesDomino_8.5.2:

To define your own toolbar, add a Dojo attribute to the Rich Text Control called toolbar. Compute the value for this attribute in Server Side JavaScript and enter an array containing the toolbar options you want to make available.

var myToolbar = "[['Font','FontSize'], \n"
        +"['Preview', 'Bold','TextColor','BGColor'], \n"
        +"['Italic','Underline','Strike','-','Subscript','Superscript']]";
return myToolbar;


来源:https://stackoverflow.com/questions/9030295/customize-ckeditor-plug-in-into-domino-8-5-3

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!