Open KrialY opened 2 weeks ago
When change the modalValue of CodeEditor, if the current selection is out of range, the code editor content will not change.I think reset the selection range is better.
If you select the end line, then click the "change" button, code editor content will not change. CodeSandbox: https://codesandbox.io/p/devbox/laughing-bas-pn64jc?file=%2Fsrc%2Fcomponents%2FHelloWorld.vue%3A8%2C5
When change the modalValue of CodeEditor, if the current selection is out of range, the code editor content will not change.I think reset the selection range is better.
If you select the end line, then click the "change" button, code editor content will not change. CodeSandbox: https://codesandbox.io/p/devbox/laughing-bas-pn64jc?file=%2Fsrc%2Fcomponents%2FHelloWorld.vue%3A8%2C5