+
+ {editor.isActive('link') ? (
+ <>
+
+ } status="primary" size="small" />
+ editor.chain().focus().unsetMark('link').run()}
+ icon={}
+ status="danger"
+ size="small"
+ />
+ >
+ ) : (
+ <>
+ editor.chain().focus().toggleMark('bold').run()}
+ active={editor.isActive('bold')}
+ icon={}
+ size="small"
+ status={editor.isActive('bold') ? 'primary' : 'stealth'}
+ />
+ editor.chain().focus().toggleMark('italic').run()}
+ active={editor.isActive('italic')}
+ icon={}
+ status={editor.isActive('italic') ? 'primary' : 'stealth'}
+ size="small"
+ />
+ editor.chain().focus().setMark('link').run()}
+ icon={}
+ status="stealth"
+ size="small"
+ />
+ >
+ )}
+
+
+ )
+}
diff --git a/frontend/src/scenes/notebooks/Notebook/Notebook.scss b/frontend/src/scenes/notebooks/Notebook/Notebook.scss
index 5433abc22cff6..03675b8da8b88 100644
--- a/frontend/src/scenes/notebooks/Notebook/Notebook.scss
+++ b/frontend/src/scenes/notebooks/Notebook/Notebook.scss
@@ -152,6 +152,24 @@
}
}
+ .NotebookInlineMenu {
+ margin-bottom: -0.2rem;
+ box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
+
+ .LemonInput {
+ border: 0px;
+ min-height: 0px;
+ }
+
+ .LemonButton {
+ min-height: 1.75rem;
+
+ .LemonButton__icon {
+ font-size: 1rem;
+ }
+ }
+ }
+
.NotebookNodeSettings__widgets {
&__content {
max-height: calc(100vh - 220px);
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 67d43ea804243..c8bfe1d9d3974 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -5450,8 +5450,8 @@ packages:
'@tiptap/core': 2.1.0-rc.12(@tiptap/pm@2.1.0-rc.12)
dev: false
- /@tiptap/extension-bubble-menu@2.1.0-rc.12(@tiptap/core@2.1.0-rc.12)(@tiptap/pm@2.1.0-rc.12):
- resolution: {integrity: sha512-Q8DzlM61KAhrq742b0x4+Ey3WChp6X8mIvHRhNhdbChmgtNyKX1d8k72euUC6hKBCUwH4b+AQ5JVmmhoJTfsjQ==}
+ /@tiptap/extension-bubble-menu@2.1.10(@tiptap/core@2.1.0-rc.12)(@tiptap/pm@2.1.0-rc.12):
+ resolution: {integrity: sha512-XxgJajXkfAj/fChXkIwKBs7/3pd7OxV1uGc6Opx1qW/nSRYx/rr97654Sx/sg6auwIlbpRoqTmyqjbykGX1/yA==}
peerDependencies:
'@tiptap/core': ^2.0.0
'@tiptap/pm': ^2.0.0
@@ -5652,7 +5652,7 @@ packages:
react-dom: ^17.0.0 || ^18.0.0
dependencies:
'@tiptap/core': 2.1.0-rc.12(@tiptap/pm@2.1.0-rc.12)
- '@tiptap/extension-bubble-menu': 2.1.0-rc.12(@tiptap/core@2.1.0-rc.12)(@tiptap/pm@2.1.0-rc.12)
+ '@tiptap/extension-bubble-menu': 2.1.10(@tiptap/core@2.1.0-rc.12)(@tiptap/pm@2.1.0-rc.12)
'@tiptap/extension-floating-menu': 2.1.0-rc.12(@tiptap/core@2.1.0-rc.12)(@tiptap/pm@2.1.0-rc.12)
'@tiptap/pm': 2.1.0-rc.12
react: 16.14.0