Conversation
- 在 Tab 栏左侧添加撤销/重做按钮 - 通过 emitter 事件机制实现 TabBar 与编辑器的通信 - 按钮显示平台对应的快捷键提示 Co-Authored-By: Claude Opus 4.6 <[email protected]>
- 添加按钮禁用状态,根据当前是否可以撤销/重做动态更新 - 使用 TooltipButton 组件,样式与文件管理器一致 - 在编辑器内容变化时自动更新按钮状态 - 加载文件后清空历史记录,避免撤销到空白状态 Co-Authored-By: Claude Opus 4.6 <[email protected]>
将撤销/重做按钮移到滚动容器外部,保持固定在左侧 Co-Authored-By: Claude Opus 4.6 <[email protected]>
- 在设置页面中添加"撤销/重做按钮"开关 - 默认开启显示 - 支持在编辑器设置中控制显示/隐藏 Co-Authored-By: Claude Opus 4.6 <[email protected]>
TabBar 组件直接读取 store 中的配置,无需重启应用 Co-Authored-By: Claude Opus 4.6 <[email protected]>
使用 useSettingStore 替代直接操作 Tauri Store, 确保设置变更立即被 TabBar 组件响应 Co-Authored-By: Claude Opus 4.6 <[email protected]>
Tiptap 编辑器不支持 editor.commands.clearHistory() 方法, 移除相关调用避免运行时错误。 Co-Authored-By: Claude Opus 4.6 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.