editor fix

This commit is contained in:
archer
2025-09-16 21:34:01 +08:00
parent 7227569142
commit e1e548ee46

View File

@@ -498,11 +498,8 @@ export const editorStateToText = (editor: LexicalEditor) => {
paragraphText.push(' ');
} else if (child.type === 'variableLabel' || child.type === 'Variable') {
paragraphText.push(child.variableKey);
<<<<<<< HEAD
=======
} else if (child.type === 'skill') {
paragraphText.push(`{{@${child.skillKey}@}}`);
>>>>>>> bc66c3a91 (feat: enable tool selection as skills (#5638))
}
});