diff --git a/core b/core deleted file mode 100644 index d64ea7e..0000000 Binary files a/core and /dev/null differ diff --git a/next-env.d.ts b/next-env.d.ts index fd36f94..4f11a03 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,6 +1,5 @@ /// /// -/// // NOTE: This file should not be edited // see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/src/_components/Editor/Editor.tsx b/src/_components/Editor/Editor.tsx index c56b76e..37975c4 100644 --- a/src/_components/Editor/Editor.tsx +++ b/src/_components/Editor/Editor.tsx @@ -259,17 +259,6 @@ const Editor = React.memo(function EditorC({ doc ); - // provider.on('status', (event: { status: string }) => { - // if (event.status === 'connected') { - // const meta = doc.getMap('meta'); - // if (isNewDocument || !meta.has('initialized')) { - // logger.info('NOT initialized'); - // } else { - // logger.info('initialized'); - // } - // } - // }); - provider.on('synced', () => { // The 'synced' event ensures all data has been loaded // initializeDocument(doc, initialMarkdown, editorRef); @@ -287,23 +276,12 @@ const Editor = React.memo(function EditorC({ logger.info('setting initial content'); } } else { - logger.info('initialised'); + logger.info('already initialised'); } }); return provider; }} - // initialEditorState={(editor: LexicalEditor) => { - // editor.update(() => { - // const root = $getRoot(); - // root.clear(); // Clear existing nodes - // if (initialMarkdown) { - // // Here we assume you have a function `insertMarkdown` available - // // If Lexical supports markdown parsing, you could use that directly - // // editorRef?.current?.insertMarkdown(initialMarkdown); - // } - // }); - // }} shouldBootstrap={false} excludedProperties={excludedProperties} username={`ABC-${Math.floor(Math.random() * 100)}`} diff --git a/src/_components/Layouts/LandingPage.tsx b/src/_components/Layouts/LandingPage.tsx index cf179a7..3aa556b 100644 --- a/src/_components/Layouts/LandingPage.tsx +++ b/src/_components/Layouts/LandingPage.tsx @@ -56,42 +56,42 @@ const LandingPage = () => { )} {siteConfig.content.services && ( )} {siteConfig.content.applications && ( )} {siteConfig.content.customers && ( )} {siteConfig.content.solutions && ( )} {siteConfig.content.products && ( )}