0

这个...

CKEDITOR.replace('layout_edit', {
    toolbar: [
        [ 'Undo', 'Redo' ],
        [ 'Bold', 'Italic', '-', 'RemoveFormat', 'JustifyLeft', 'JustifyCenter', 'JustifyRight' ],
        [ 'FontSize' ]
    ]
})

……变成这样……

在此处输入图像描述

我不知道为什么不显示对齐选项和字体大小选项。

4

1 回答 1

1

确保包含具有所需插件的 CKEDITOR 版本。这没有'justify'或'font':

<script src="//cdn.ckeditor.com/4.4.7/standard/ckeditor.js"></script>

尝试这个:

<script src="//cdn.ckeditor.com/4.4.7/standard-all/ckeditor.js"></script>
于 2015-06-25T20:38:45.653 回答