CKEDITOR SpecialChar缺少服务标记符号

时间:2019-06-21 18:34:51

标签: ckeditor

我一直在使用CKEDITOR作为后端,以便用户将内容添加到网站中,但引起我注意的是它缺少服务标记符号。我看着SpecialChar插入物没有看到。

  

我可以添加一个将插入“ SM”代码的按钮吗?

CKEDITOR代码

CKEDITOR.replace("txtDescription", {
    enterMode: CKEDITOR.ENTER_BR,
    resize_enabled: false,
    toolbar:[
        { name: 'basicstyles', groups: ['basicstyles', 'cleanup'], items: ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat'] },
        { name: 'styles', items: ['Format'] },
        { name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi'], items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'] },
        { name: 'clipboard', groups: ['clipboard', 'undo'], items: ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'] },
        { name: 'links', items: ['Link', 'Unlink', 'Anchor'] },
        { name: 'insert', items: ['Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'Image'] },
        { name: 'tools', items: ['Source', '-', 'Maximize'] }
    ]
});

0 个答案:

没有答案