thzxx
fae31bba60
refactor(core): 拆分 4 模块 + 插件状态 Symbol 化 + eslint type-aware
- core.ts 从 1162 行降至 865 行:命令/浮动工具栏/右键菜单/大纲
拆至 commands.ts / floating-toolbar.ts / context-menu.ts / outline.ts
(原型安装,API 与测试完全兼容)
- 6 个预设插件状态改用 Symbol 键存储,定义 EditorLike 契约接口,
消灭 (editor as any).__xxx 魔法属性
- 实现 maxLength(textarea maxlength + 程序化入口截断)与
zenMode 初始状态(此前为 dead config)
- 搜索面板补齐 matchCase/wholeWord(翻译键已有但未实现,
中文全字边界感知)
- 分隔条 localStorage key 加入实例 id 隔离
- eslint 启用 type-aware 规则(consistent-type-imports /
no-unnecessary-type-assertion),0 errors
2026-08-09 08:59:37 +08:00
..
2026-07-24 22:28:38 +08:00
2026-08-09 08:59:37 +08:00
2026-07-24 22:28:38 +08:00
2026-07-25 15:50:12 +08:00
2026-08-09 08:59:19 +08:00
2026-08-09 08:59:37 +08:00
2026-07-25 08:53:58 +08:00
2026-07-24 22:28:38 +08:00
2026-07-28 21:18:26 +08:00