ckeditor4-docs-samples-master\editors\document-editor\index.html 查看效果
二、更简单的是 直接修改 完整的 编辑器源码,找到 contents.css 文件20——30行以内的这个class(.cke_editable)(直接追加到最后也可以)
/*设置标准文档*/ .cke_editable { width: 17cm; min-height: 21cm; padding: 1cm 2cm 2cm; margin: 0.5cm auto; border: 1px #D3D3D3 solid; background: white; box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); font-size: 13px; line-height: 1.6; /* Fix for missing scrollbars with RTL texts. (#10488) */ word-wrap: break-word; }
附 :工具栏的配置:https://ckeditor.com/latest/samples/toolbarconfigurator/index.html
在这里配置想要的 工具,在代码中使用查看效果,