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')