From 01cf5ccad7756c9bc65c82cd396b04656fc8743d Mon Sep 17 00:00:00 2001 From: sepehr Date: Sat, 2 May 2026 23:37:13 +0200 Subject: [PATCH] fix: prevent bubble menu from being cut off at the top of notes --- memento-note/components/rich-text-editor.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/memento-note/components/rich-text-editor.tsx b/memento-note/components/rich-text-editor.tsx index aa161e3..82455df 100644 --- a/memento-note/components/rich-text-editor.tsx +++ b/memento-note/components/rich-text-editor.tsx @@ -177,6 +177,11 @@ export const RichTextEditor = forwardRef document.body, + zIndex: 99999, + fallbackPlacements: ['bottom', 'top'] + }} shouldShow={({ editor: e, state }: { editor: Editor; state: EditorState }) => { const { from, to } = state.selection const isImage = e.isActive('image')