|
@@ -26,11 +26,12 @@ export default {
|
|
|
'fullscreen preview code | undo redo | lineheight bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | numlist bullist | upfile image axupimgs media importword table | formatselect fontselect fontsizeselect forecolor backcolor | indent outdent | superscript subscript | removeformat | wordcount | help',
|
|
|
toolbar_drawer: 'sliding',
|
|
|
quickbars_selection_toolbar: 'removeformat | bold italic underline strikethrough | fontsizeselect forecolor backcolor',
|
|
|
- plugins: 'preview code lineheight wordcount upfile image axupimgs imagetools media importword table lists fullscreen quickbars help',
|
|
|
+ plugins: 'paste preview code lineheight wordcount upfile image axupimgs imagetools media importword table lists fullscreen quickbars help',
|
|
|
language: 'zh_CN',
|
|
|
content_style: 'img {max-width:100%;}', //编辑器内限制图片大小
|
|
|
convert_urls: false,
|
|
|
height: this.height,
|
|
|
+ paste_data_images: true,
|
|
|
//图片上传
|
|
|
images_upload_handler: (blobInfo, succFun, failFun) => {
|
|
|
let formData = new FormData();
|