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 iframe will take away the focus
DiamondThree96ea531b4ed5
diff --git a/libs/components/editor-core/src/recast-block/view.ts b/libs/components/editor-core/src/recast-block/view.tsindex 89b32488ea..09e4644977 100644--- a/libs/components/editor-core/src/recast-block/view.ts+++ b/libs/components/editor-core/src/recast-block/view.ts@@ -53,7 +53,7 @@ export const useCurrentView = () => {export const useLazyIframe = (link: string,timers: number,- container: MutableRefObject<any>+ container: MutableRefObject<HTMLElement>) => {const [iframeShow, setIframeShow] = useState(false);useEffect(() => {