【问题标题】:WYSIWYG in CKEditor - how to disable/add modulesCKEditor 中的所见即所得 - 如何禁用/添加模块
【发布时间】:2015-07-22 21:49:48
【问题描述】:

我正在使用 CKEDITOR.replaceAll('wysiwyg');在我的网站上将表单文本区域替换为所见即所得,但我想禁用一些模块,如斜体字体、链接......请问该怎么做?我找不到任何例子。

【问题讨论】:

标签: javascript php jquery ckeditor wysiwyg


【解决方案1】:

要禁用模块,请在 CKEditor 的 config.js 文件中添加以下代码,

config.removeButtons = 'Underline,JustifyCenter';

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-07-11
    • 2022-01-22
    • 1970-01-01
    • 1970-01-01
    • 2014-03-29
    • 1970-01-01
    • 2013-07-05
    • 2013-02-23
    相关资源
    最近更新 更多