Repository navigation
升级 Markup 到 Calcit 0.41.0 并约束正文编辑类型 - #25
Conversation
|
No actionable comments were generated in the recent review. WalkthroughThe edit flow now dispatches a typed ChangesTyped content editing
Estimated code review effort: 2 (Simple) | ~10 minutes Change: Other Sequence Diagram(s)sequenceDiagram
participant Textarea
participant dispatch!
participant updater
Textarea->>dispatch!: Send cursor, prior state, and entered content
dispatch!->>updater: Apply :edit-content operation
updater->>updater: Update content at the cursor
Possibly related PRs
Merge Risk:
|
使用者影响
Content 输入、Run、HUD、Reel 面板和存档格式保持原行为。开发时配对 Calcit 与 @calcit/procs 0.41.0 并重新生成 JS。已打开的旧开发会话需刷新,内存中的旧编辑操作与新事件名不同。
改动与风险
验证
218 个定义、完整 strict、Caps/Yarn 严格安装、原 3 项回归和 PR 路径构建通过。覆盖 Unicode 正文、其他字段保留、Reel 重放及旧存档恢复。隔离 Chromium 验证真实输入和 Run 输出。
Summary by CodeRabbit