mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-05-13 15:12:10 +08:00
feat(@vben/plugins): tiptap 支持图片上传功能
- 新增 imageUpload 配置项,支持自定义上传接口 - 支持文件选择、拖拽、粘贴三种上传方式 - 上传中显示 blob 预览图 + loading spinner / 进度条 - 支持 accept 和 maxSize 文件校验 - 支持 onUploadError 自定义错误处理 - 未配置 imageUpload 时保持原有 URL 插入行为不变 - 使用 NodeView 实现实时 DOM 控制的进度展示
This commit is contained in:
@@ -56,6 +56,7 @@ catalog:
|
||||
'@tiptap/extension-text-align': ^3.22.3
|
||||
'@tiptap/extension-text-style': ^3.22.3
|
||||
'@tiptap/extension-underline': ^3.22.3
|
||||
'@tiptap/pm': ^3.22.3
|
||||
'@tiptap/starter-kit': ^3.22.3
|
||||
'@tiptap/vue-3': ^3.22.3
|
||||
'@tsdown/css': ^0.21.8
|
||||
|
||||
Reference in New Issue
Block a user