fix(Editor): (Codex) 修复 ScriptEditor toolbar 中编辑相关操作的交互问题#1417
Open
cyfung1031 wants to merge 1 commit intorelease/v1.4from
Open
fix(Editor): (Codex) 修复 ScriptEditor toolbar 中编辑相关操作的交互问题#1417cyfung1031 wants to merge 1 commit intorelease/v1.4from
cyfung1031 wants to merge 1 commit intorelease/v1.4from
Conversation
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.
Checklist / 检查清单
Description / 描述
navigator.clipboard.readText()读取剪贴板内容,再交给 Monaco paste handler 插入。将编辑器变更监听从键盘事件改为 Monaco 内容变更事件,确保剪切、粘贴、格式化、undo/redo 等非键盘输入也能正确更新编辑状态。Screenshots / 截图