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

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/u010730458/article/details/86645462

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配置使用

展开阅读全文

没有更多推荐了,返回首页