mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-17 16:45:02 +00:00
editor fix
This commit is contained in:
@@ -498,11 +498,8 @@ export const editorStateToText = (editor: LexicalEditor) => {
|
|||||||
paragraphText.push(' ');
|
paragraphText.push(' ');
|
||||||
} else if (child.type === 'variableLabel' || child.type === 'Variable') {
|
} else if (child.type === 'variableLabel' || child.type === 'Variable') {
|
||||||
paragraphText.push(child.variableKey);
|
paragraphText.push(child.variableKey);
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
} else if (child.type === 'skill') {
|
} else if (child.type === 'skill') {
|
||||||
paragraphText.push(`{{@${child.skillKey}@}}`);
|
paragraphText.push(`{{@${child.skillKey}@}}`);
|
||||||
>>>>>>> bc66c3a91 (feat: enable tool selection as skills (#5638))
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user