fix(web): remove editor variable space

This commit is contained in:
zhaoying
2026-04-09 11:50:03 +08:00
parent 62fb6c79a0
commit 807ddce5cd

View File

@@ -50,7 +50,7 @@ const CommandPlugin = () => {
// Create and insert the variable node
const tagNode = $createVariableNode(payload.data);
const spaceNode = $createTextNode(' ');
const spaceNode = $createTextNode('');
anchorNode.insertAfter(tagNode);
tagNode.insertAfter(spaceNode);