We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba28671 commit 3eaeb6aCopy full SHA for 3eaeb6a
libs/block-note-angular/src/lib/block-note-editor/bna-editor.component.ts
@@ -121,10 +121,7 @@ export class BnaEditorComponent implements OnChanges {
121
});
122
this.editor.onSelectionChange((change) => {
123
const selection = this.editor.getSelection();
124
- //Todo: create type
125
let selectedBlocks = [];
126
- // Get the blocks in the current selection and store on the state. If
127
- // the selection is empty, store the block containing the text cursor
128
// instead.
129
if (selection !== undefined) {
130
selectedBlocks = selection.blocks;
0 commit comments