Skip to content

Commit

Permalink
react-monaco-editor降低到0.50.1,解决光标跳行问题,根本原因是因为react18的creatRoot有问题
Browse files Browse the repository at this point in the history
  • Loading branch information
luoluoTH committed Jul 30, 2024
1 parent a5b4f2c commit a02e941
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/renderer/src/main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"react-hotkeys-hook": "^4.4.1",
"react-infinite-scroll-component": "^6.1.0",
"react-markdown": "^8.0.7",
"react-monaco-editor": "^0.54.0",
"react-monaco-editor": "0.50.1",
"react-resizable": "^3.0.4",
"react-resize-detector": "^6.7.6",
"react-scripts": "5.0.1",
Expand Down
8 changes: 4 additions & 4 deletions app/renderer/src/main/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13510,10 +13510,10 @@ react-markdown@~8.0.0:
unist-util-visit "^4.0.0"
vfile "^5.0.0"

react-monaco-editor@^0.54.0:
version "0.54.0"
resolved "https://registry.yarnpkg.com/react-monaco-editor/-/react-monaco-editor-0.54.0.tgz#ec9293249a991b08264be723c1ec0ca3a6d480d8"
integrity sha512-9JwO69851mfpuhYLHlKbae7omQWJ/2ICE2lbL0VHyNyZR8rCOH7440u+zAtDgiOMpLwmYdY1sEZCdRefywX6GQ==
react-monaco-editor@0.50.1:
version "0.50.1"
resolved "https://registry.yarnpkg.com/react-monaco-editor/-/react-monaco-editor-0.50.1.tgz#3b68ce03e4b316f435b9bcd8ec13ffd4c050c605"
integrity sha512-qvYdJhQdkPIrPDMxCrEl0T2x9TfBB+aUbrpFv69FwoTybeyfAjxgJ219MYSsgn3c/g06BgyLX4ENrXM4niZ9ag==
dependencies:
prop-types "^15.8.1"

Expand Down

0 comments on commit a02e941

Please sign in to comment.