运行脚本和新建代码片段支持引入变量

This commit is contained in:
fofolee
2025-02-24 00:53:21 +08:00
parent d9e542d4f2
commit 37f5ee2160
3 changed files with 35 additions and 7 deletions

View File

@@ -187,7 +187,7 @@ export default {
this.showComposer = true;
break;
case "insert-text":
this.$refs.editor.repacleEditorSelection(data);
this.$refs.editor.replaceEditorSelection(data);
break;
case "restore":
this.restoreHistory(data);