From e3cb838c2102916c1ebe852c396ebea819919139 Mon Sep 17 00:00:00 2001 From: Matthias risto Date: Mon, 11 Nov 2024 15:19:26 +0100 Subject: [PATCH] fix: remove unused console logs --- .../default-buttons/add-button/bna-add-button.component.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libs/ngx-blocknote/src/lib/components/table-handles/table-handle-menu/default-buttons/add-button/bna-add-button.component.ts b/libs/ngx-blocknote/src/lib/components/table-handles/table-handle-menu/default-buttons/add-button/bna-add-button.component.ts index 478fddd..8344a9c 100644 --- a/libs/ngx-blocknote/src/lib/components/table-handles/table-handle-menu/default-buttons/add-button/bna-add-button.component.ts +++ b/libs/ngx-blocknote/src/lib/components/table-handles/table-handle-menu/default-buttons/add-button/bna-add-button.component.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { Component, input } from '@angular/core'; -import { TableContent } from '@blocknote/core'; +import { PartialTableContent, TableContent } from '@blocknote/core'; import type { InlineContentSchema } from '@blocknote/core/src/schema/inlineContent/types'; import type { StyleSchema } from '@blocknote/core/src/schema/styles/types'; import { TableHandleOptions } from '../../../../../interfaces/table-handle-options.type'; @@ -27,7 +27,6 @@ export class BnaAddButtonComponent { //TODO: when can this be? return; } - console.log(block.content); const content: TableContent = { ...block.content, type: 'tableContent', @@ -79,10 +78,8 @@ export class BnaAddButtonComponent { private getProperties(orientation: 'row' | 'column') { const editor = this.ngxBlockNoteService.editor(); - //TODO: get the block const options = this.options(); const block = options.tableHandles.block; - console.log(block); const index = orientation === 'row'