1
0
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:
Dan Brown
2025-08-27 14:09:38 +01:00
parent 519acaf324
commit 46613f76f6
6 changed files with 48 additions and 11 deletions

View File

@@ -178,6 +178,10 @@ export class DetailsNode extends ElementNode {
return true;
}
canBeEmpty(): boolean {
return false;
}
}
export function $createDetailsNode() {