.1915763867792649:7e729cbea4234e4492c4c349862b15dd_69e5c7e1ed096a35b9ded4df.69e5e29c3dfe976a28c93094.69e5e29ba3d8fa6818156c2b:Trae CN.T(2026/4/20 16:23:56)#74
Open
keep-me wants to merge 3 commits intofvilers:masterfrom
Conversation
新增命令模式实现编辑器操作,包括基础命令、格式命令和块命令 添加选择管理器和DOM工具类支持编辑器功能 重构编辑器初始化逻辑,集成新功能模块
调整工具栏样式防止内容溢出,并添加滚动支持 修复format-commands和dom-utils中的空指针异常 移除index.html中不再需要的外部脚本引用
修复splitTextNode方法返回格式不一致的问题 增加对父节点存在的检查防止空指针异常 优化getTextNodesInRange方法处理边界情况 重构splitRangeBoundaries方法以正确处理文本节点分割
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.
fix(dom-utils): 修复DOM操作中的边界条件和文本节点处理问题
修复splitTextNode方法返回格式不一致的问题
增加对父节点存在的检查防止空指针异常
优化getTextNodesInRange方法处理边界情况
重构splitRangeBoundaries方法以正确处理文本节点分割