From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001
From: wwf <yearningwang@iqtogether.com>
Date: 星期三, 04 六月 2025 15:17:49 +0800
Subject: [PATCH] 初始化

---
 app/components/base/prompt-editor/plugins/variable-value-block/node.tsx |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/app/components/base/prompt-editor/plugins/variable-value-block/node.tsx b/app/components/base/prompt-editor/plugins/variable-value-block/node.tsx
index e83dd22..9dd76fc 100644
--- a/app/components/base/prompt-editor/plugins/variable-value-block/node.tsx
+++ b/app/components/base/prompt-editor/plugins/variable-value-block/node.tsx
@@ -1,6 +1,7 @@
 import type {
   EditorConfig,
   LexicalNode,
+  NodeKey,
   SerializedTextNode,
 } from 'lexical'
 import {
@@ -17,9 +18,9 @@
     return new VariableValueBlockNode(node.__text, node.__key)
   }
 
-  // constructor(text: string, key?: NodeKey) {
-  //   super(text, key)
-  // }
+  constructor(text: string, key?: NodeKey) {
+    super(text, key)
+  }
 
   createDOM(config: EditorConfig): HTMLElement {
     const element = super.createDOM(config)

--
Gitblit v1.8.0