]> BookStack Code Mirror - bookstack/commit
Lexical: Added backspace handling for details
authorDan Brown <redacted>
Wed, 27 Aug 2025 13:09:38 +0000 (14:09 +0100)
committerDan Brown <redacted>
Wed, 27 Aug 2025 13:09:38 +0000 (14:09 +0100)
commit46613f76f61902db4dca5f54c308b8dadf02a14c
treed7d694799115ea9499dae5b554202321f108acce
parent519acaf324f5ce806f6e819683756ba175690ea1
Lexical: Added backspace handling for details

Allows more reliable removal of details block on backspace at first
child position with the details block.
resources/js/wysiwyg/index.ts
resources/js/wysiwyg/lexical/core/nodes/LexicalElementNode.ts
resources/js/wysiwyg/lexical/rich-text/LexicalDetailsNode.ts
resources/js/wysiwyg/services/keyboard-handling.ts
resources/js/wysiwyg/ui/defaults/buttons/objects.ts
resources/js/wysiwyg/utils/details.ts [new file with mode: 0644]