bianjiang 1 年之前
父節點
當前提交
2f6a3c1a87
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/modules/editor/controllers/TextEditorCtrl/index.ts

+ 1 - 1
src/modules/editor/controllers/TextEditorCtrl/index.ts

@@ -38,7 +38,7 @@ export class TextEditorCtrl extends ModuleControl<EditorModule> {
       }
       blocks[blocks.length - 1] = blocks[blocks.length - 1].replace(
         pTagReg,
-        `$1$2${alink}$3`
+        `$1$3${alink}$4`
       );
       this.actions.updateCompData(
         this.store.currComp,