自定义 Ckeditor 插件到 Domino 8.5.3 [英] Customize Ckeditor plug-in into Domino 8.5.3

查看:23
本文介绍了自定义 Ckeditor 插件到 Domino 8.5.3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经阅读了这个网址第一个官方

还有这个另一个博客

但它们只描述了工具栏参数大"、中"等的工作原理.

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

如何隐藏插件Full-Screen"或启用Ckeditor 3.X原生插件拼写检查"?

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

推荐答案

您链接到两篇文章,这两篇文章都提到您可以使用您想要的按钮配置 CKEditor.

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

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

要定义您自己的工具栏,请将 Dojo 属性添加到称为工具栏的富文本控件.在服务器端 JavaScript 中计算此属性的值,然后输入一个包含您要提供的工具栏选项的数组.

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;

这篇关于自定义 Ckeditor 插件到 Domino 8.5.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆