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: disable ref page selection (#343)
Whitewater3c79d6694637
diff --git a/libs/components/editor-blocks/src/blocks/group/scene-kanban/RefPage.tsx b/libs/components/editor-blocks/src/blocks/group/scene-kanban/RefPage.tsxindex 3d223d121d..34d6dbb583 100644--- a/libs/components/editor-blocks/src/blocks/group/scene-kanban/RefPage.tsx+++ b/libs/components/editor-blocks/src/blocks/group/scene-kanban/RefPage.tsx@@ -21,13 +21,17 @@ const Modal = ({ open, children }: { open: boolean; children?: ReactNode }) => {return createPortal(<MuiBackdropopen={open}+ onMouseDown={(e: { stopPropagation: () => void }) => {+ // Prevent trigger the bottom editor's selection+ e.stopPropagation();+ }}+ onClick={closeSubPage}style={{display: 'flex',flexDirection: 'column',background: 'rgba(58, 76, 92, 0.4)',zIndex: theme.affine.zIndex.popover,}}- onClick={closeSubPage}><DialogonClick={(e: { stopPropagation: () => void }) => {