Skip to content

Commit e3cb838

Browse files
committed
fix: remove unused console logs
1 parent 7409ca2 commit e3cb838

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

libs/ngx-blocknote/src/lib/components/table-handles/table-handle-menu/default-buttons/add-button/bna-add-button.component.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { CommonModule } from '@angular/common';
22
import { Component, input } from '@angular/core';
3-
import { TableContent } from '@blocknote/core';
3+
import { PartialTableContent, TableContent } from '@blocknote/core';
44
import type { InlineContentSchema } from '@blocknote/core/src/schema/inlineContent/types';
55
import type { StyleSchema } from '@blocknote/core/src/schema/styles/types';
66
import { TableHandleOptions } from '../../../../../interfaces/table-handle-options.type';
@@ -27,7 +27,6 @@ export class BnaAddButtonComponent {
2727
//TODO: when can this be?
2828
return;
2929
}
30-
console.log(block.content);
3130
const content: TableContent<InlineContentSchema, StyleSchema> = {
3231
...block.content,
3332
type: 'tableContent',
@@ -79,10 +78,8 @@ export class BnaAddButtonComponent {
7978

8079
private getProperties(orientation: 'row' | 'column') {
8180
const editor = this.ngxBlockNoteService.editor();
82-
//TODO: get the block
8381
const options = this.options();
8482
const block = options.tableHandles.block;
85-
console.log(block);
8683

8784
const index =
8885
orientation === 'row'

0 commit comments

Comments
 (0)