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)