mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Lexical: Added single node backspace/delete support
This commit is contained in:
@ -33,7 +33,7 @@ export class CodeBlockNode extends DecoratorNode<EditorDecoratorAdapter> {
|
||||
}
|
||||
|
||||
static clone(node: CodeBlockNode): CodeBlockNode {
|
||||
const newNode = new CodeBlockNode(node.__language, node.__code);
|
||||
const newNode = new CodeBlockNode(node.__language, node.__code, node.__key);
|
||||
newNode.__id = node.__id;
|
||||
return newNode;
|
||||
}
|
||||
|
Reference in New Issue
Block a user