mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-10-25 06:37:36 +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:
@@ -91,9 +91,6 @@ export function createPageEditorInstance(container: HTMLElement, htmlContent: st
|
||||
window.debugEditorState = () => {
|
||||
return editor.getEditorState().toJSON();
|
||||
};
|
||||
context.manager.onSelectionChange((selection) => {
|
||||
console.log(selection, context.editor.getEditorState());
|
||||
});
|
||||
|
||||
registerCommonNodeMutationListeners(context);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user