MooTool

Handy tool set for developers

View on GitHub

DIFF-299:JSON 工具栏「清空」对齐 Electron

背景

Electron JsonToolbar onClearupdate({ content: '' }),不改 notice、不 toast。Compose 此前额外写入 json.notice.cleared 到状态栏/检查器结果链。

EditorBuffer.setText 不触发 onUserDocumentChange,故清空后 notice 自然保留(与 Electron 一致)。

行为

验证