diff options
| author | codetorso <[email protected]> | 2024-08-17 05:58:17 +0530 |
|---|---|---|
| committer | codetorso <[email protected]> | 2024-08-17 05:58:17 +0530 |
| commit | 429a088c74ff900bfc380e2dd4e789796c1d2d61 (patch) | |
| tree | 804ed269818fa1cf1b2ef60a2e7d7d074f5d3a63 | |
| parent | popover ruining my day again (diff) | |
| download | supermemory-429a088c74ff900bfc380e2dd4e789796c1d2d61.tar.xz supermemory-429a088c74ff900bfc380e2dd4e789796c1d2d61.zip | |
get this file in
| -rw-r--r-- | apps/web/components/editor/advanced-editor.tsx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/web/components/editor/advanced-editor.tsx b/apps/web/components/editor/advanced-editor.tsx index f08cd15a..5da44245 100644 --- a/apps/web/components/editor/advanced-editor.tsx +++ b/apps/web/components/editor/advanced-editor.tsx @@ -7,22 +7,17 @@ import { EditorCommandItem, EditorCommandList, EditorContent, - type EditorInstance, EditorRoot, - type JSONContent, useEditor, } from "novel"; import { ImageResizer, handleCommandNavigation } from "novel/extensions"; import { memo, useState } from "react"; -import { useDebouncedCallback } from "use-debounce"; import { defaultExtensions } from "./extensions"; import { LinkSelector } from "./selectors/link-selector"; import { NodeSelector } from "./selectors/node-selector"; import { Separator } from "./ui/separator"; -import { handleImageDrop, handleImagePaste } from "novel/plugins"; import GenerativeMenuSwitch from "./generative/generative-menu-switch"; -import { uploadFn } from "./image-upload"; import { TextButtons } from "./selectors/text-buttons"; import { slashCommand, suggestionItems } from "./slash-command"; import { ToC } from "./toc"; @@ -31,7 +26,6 @@ import { TableOfContents, } from "@tiptap-pro/extension-table-of-contents"; import { AlignSelector } from "./selectors/align-selector"; -import { useFormStatus } from "react-dom"; import { Button } from "@repo/ui/shadcn/button"; const MemorizedToC = memo(ToC); |