mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-11-14 20:42:33 +03:00
Lexical: Added backspace handling for details
Allows more reliable removal of details block on backspace at first child position with the details block.
This commit is contained in:
@@ -178,6 +178,10 @@ export class DetailsNode extends ElementNode {
|
||||
return true;
|
||||
}
|
||||
|
||||
canBeEmpty(): boolean {
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export function $createDetailsNode() {
|
||||
|
||||
Reference in New Issue
Block a user