小编Era*_*lea的帖子

setData命令不是每次都将我的数据设置为CKEDITOR

          CKEDITOR.replace('editor1', {
        contentsCss: '../assets/global/plugins/bootstrap/css/bootstrap.min.css',
        toolbar:
            [
                { name: 'document', groups: ['mode', 'document', 'doctools'], items: ['Source', '-', 'Save', 'NewPage', 'Preview', '-', 'Templates'] },
                { name: 'clipboard', groups: ['clipboard', 'undo'], items: ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'] },
                { name: 'editing', groups: ['find', 'selection', 'spellchecker'], items: ['Find', 'Replace', '-', 'SelectAll', '-', 'Scayt', 'ImageButton'] },
                { name: 'links', items: ['Link', 'Unlink', 'Anchor'] },
                '/',
                { name: 'basicstyles', groups: ['basicstyles', 'cleanup'], items: ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat'] },
                { …
Run Code Online (Sandbox Code Playgroud)

javascript ckeditor

2
推荐指数
1
解决办法
1472
查看次数

标签 统计

ckeditor ×1

javascript ×1