好用的vue富文本编辑器记录

vue-quill-editor

https://github.com/surmon-china/vue-quill-editor

https://www.npmjs.com/package/vue-quill-editor

https://blog.csdn.net/nickroprak/article/details/86645519(自定义图片上传)

*默认上传图片为base64编吗

CKEditor

https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/vuejs.html

https://github.com/ckeditor/ckeditor5

https://ckeditor.com/docs/ckeditor5/latest/api/module_core_editor_editorconfig-EditorConfig.html (config)

https://ckeditor.com/docs/ckeditor5/latest/api/module_ckfinder_ckfinder-CKFinderConfig.html (ckfingder设置上传图片接口)

// 上传图片到服务器
editorConfig: {
        // toolbar: [ 'bold', 'italic' ],
        language: 'zh',
        ckfinder: {
          uploadUrl: config.baseURL + '/uploadFile' // 后端处理上传逻辑返回json数据,包括uploaded(选项true/false)和url两个字段,
   }
},

https://blog.csdn.net/nickroprak/article/details/86648903 ckedit+vue配置使用

你可能感兴趣的:(Vue)