From d7855e6d990cabc90c5eb1817e380ca2fecd1f5f Mon Sep 17 00:00:00 2001 From: Matthias risto Date: Mon, 16 Sep 2024 22:32:52 +0200 Subject: [PATCH] feat: add option to override suggestions-menu --- .../src/lib/editor/bna-editor.component.html | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/libs/ngx-blocknote/src/lib/editor/bna-editor.component.html b/libs/ngx-blocknote/src/lib/editor/bna-editor.component.html index 66c3fb5..759cdcc 100644 --- a/libs/ngx-blocknote/src/lib/editor/bna-editor.component.html +++ b/libs/ngx-blocknote/src/lib/editor/bna-editor.component.html @@ -48,11 +48,16 @@ } - - @if (suggestionMenuShown()) { - - } - +
+ +
+ @if (!slashMenu.hasChildNodes()) { + + @if (suggestionMenuShown()) { + + } + + } @if (linkToolbarShown()) {