本文主要是介绍好用的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富文本编辑器记录的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!