feat(editor): 实现自定义居中按钮并优化媒体上传处理

- 添加自定义居中按钮功能,替换原生的居中实现
- 修改图片和视频上传后的URL格式,附加aid参数
- 优化媒体资源提取逻辑,处理URL中的查询参数
- 调整编辑器工具栏的z-index样式
- 移除不必要的position属性
This commit is contained in:
A1300399510
2025-11-27 02:50:45 +08:00
parent 275b78b221
commit f7af6d4046
4 changed files with 148 additions and 88 deletions

View File

@@ -86,7 +86,7 @@
padding-left: 25px;
position: sticky;
top: 0;
z-index: 10;
z-index: 1;
}
#edit .edit-container #editorwrapper .editor-toolbar .w-e-panel-content-emotion {
width: 490px;
@@ -118,7 +118,6 @@
color: #000000;
line-height: 23px;
margin-right: 40px;
position: relative;
padding: 0;
}
#edit .edit-container #editorwrapper .editor-toolbar .toolbar-item .icon {