Conversation
- 使用 @sereneinserenade/tiptap-search-and-replace 插件 - 创建 SearchReplacePanel 组件,支持搜索、替换、替换全部 - 支持大小写敏感切换 - 使用 Ctrl+F / Cmd+F 快捷键触发搜索 Co-Authored-By: Claude Opus 4.6 <[email protected]>
- 添加错误处理避免 chain.search 为 undefined 报错 - 直接操作状态 - 点击关闭按钮和 ESC storage 清除搜索 都可以关闭面板 Co-Authored-By: Claude Opus 4.6 <[email protected]>
- 将搜索面板移到 EditorContent 外部,避免受编辑器焦点影响 - 移除 runSearchCommand 中的 focus() 调用,防止焦点转移到编辑器 Co-Authored-By: Claude Opus 4.6 <[email protected]>
- 优化导航时保持搜索框焦点 - 添加高亮样式(支持明暗主题) - 修复 TypeScript 类型错误 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.