halo
halo copied to clipboard
pref: refactor default editor video block upload logic
What type of PR is this?
/kind improvement /area console /area editor /milestone 2.13.x
What this PR does / why we need it:
重构默认编辑器视频组件。使其支持上传、取消上传、从附件库选择、替换等功能。
How to test it?
直接拖动、复制或选择文件上传一个视频,查看是否显示上传进度条,取消、重试功能是否正常
Which issue(s) this PR fixes:
Fixes #5240
Does this PR introduce a user-facing change?
重构编辑器视频组件的上传逻辑,增加选择文件上传、上传进度条、取消、重试等机制。