roymondchen
|
c4b98e3257
|
refactor(test): 移除 editor 单元测试中冗余的 vi.mock 覆盖
依赖 importActual 保留真实实现即可,无需再 mock SideItemKey、NodeType 等常量。
|
2026-07-30 14:58:36 +08:00 |
|
roymondchen
|
b85eaa9452
|
refactor(utils): 新增 isPageOrFragment 统一页面与页面片判断
|
2026-07-30 14:56:05 +08:00 |
|
roymondchen
|
ef66e8a598
|
fix(form,editor): 完善表单校验与样式属性匹配
|
2026-07-20 19:09:55 +08:00 |
|
roymondchen
|
0e4669261f
|
feat(editor): 新增属性配置表单校验联动能力
- 新增 enablePropsFormValidate 开关
- 校验失败时仍更新节点并记录错误
- editorService 增加 invalidNodeIds 状态及错误读写方法
- 新增 invalid-node-change 事件,错误随历史快照还原
- 组件树节点标红并展示错误图标
- playground 保存前拦截校验错误组件
- 补充 API 与进阶指南文档
|
2026-07-14 19:51:21 +08:00 |
|
roymondchen
|
27b2c2c685
|
feat(editor): 历史记录支持操作来源
|
2026-06-04 16:08:52 +08:00 |
|
roymondchen
|
b9a6dd5b84
|
fix(editor): 修复 root 整体替换时图层面板节点状态残留与组件树闪烁问题
|
2026-05-26 17:06:45 +08:00 |
|
roymondchen
|
ab6918f43d
|
test: 完善测试用例
|
2026-05-14 15:26:22 +08:00 |
|