There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix lint
DiamondThree6c264853437f
diff --git a/libs/components/editor-plugins/src/menu/inline-menu/Container.tsx b/libs/components/editor-plugins/src/menu/inline-menu/Container.tsxindex bd0484179a..99dfa797f3 100644--- a/libs/components/editor-plugins/src/menu/inline-menu/Container.tsx+++ b/libs/components/editor-plugins/src/menu/inline-menu/Container.tsx@@ -39,7 +39,7 @@ export const InlineMenuContainer = ({ editor }: InlineMenuContainerProps) => {// This is relative to windowconst rect = browserSelection.getRangeAt(0).getBoundingClientRect();-+ const { top, left } = editor.container.getBoundingClientRect();setSelectionInfo(info);setShowMenu(true);setContainerStyle({