mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-13 22:56:28 +00:00
editor fix
This commit is contained in:
@@ -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))
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user