fix(web): remove editor variable space
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user