feat(web): 文章编辑器重设计 — 公众号风格三栏布局 + styled-block 自定义模块

- 左栏样式组件库(标题/内容/区块 14 种模板,5 种配色主题)
- 中间 Notion 风格编辑区(标题置顶 + wangEditor + 自定义 styled-block)
- 右栏 iPhone 仿真预览(匹配小程序暖奶油配色)
- 设置面板移至 Drawer 抽屉按需打开
- 注册 wangEditor 自定义模块保留模板内联样式
- 使用 snabbdom VNode + insertNode API 解决样式被剥离问题
This commit is contained in:
iven
2026-05-11 02:18:24 +08:00
parent 4788e19a1d
commit f4b09858c4
11 changed files with 1362 additions and 558 deletions

View File

@@ -47,6 +47,9 @@ importers:
react-router-dom:
specifier: ^7.14.0
version: 7.14.0(react-dom@19.2.5(react@19.2.5))(react@19.2.5)
snabbdom:
specifier: ^3.6.3
version: 3.6.3
zustand:
specifier: ^5.0.12
version: 5.0.12(@types/react@19.2.14)(immer@9.0.21)(react@19.2.5)(use-sync-external-store@1.6.0(react@19.2.5))