diff options
| author | codetorso <[email protected]> | 2024-08-17 06:59:37 +0530 |
|---|---|---|
| committer | codetorso <[email protected]> | 2024-08-17 06:59:37 +0530 |
| commit | d419b06456508cb38a5316eddddece129f2cf0f6 (patch) | |
| tree | 660cc0fad0a2843084a128ee8fe0c7ef810a816d /apps | |
| parent | get this file in (diff) | |
| download | supermemory-d419b06456508cb38a5316eddddece129f2cf0f6.tar.xz supermemory-d419b06456508cb38a5316eddddece129f2cf0f6.zip | |
commit it
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/web/components/editor/extensions.ts | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/apps/web/components/editor/extensions.ts b/apps/web/components/editor/extensions.ts index eadf2d0c..571ec28c 100644 --- a/apps/web/components/editor/extensions.ts +++ b/apps/web/components/editor/extensions.ts @@ -2,24 +2,17 @@ import { AIHighlight, CharacterCount, CodeBlockLowlight, - // Color, - // CustomKeymap, GlobalDragHandle, - // HighlightExtension, HorizontalRule, - // MarkdownExtension, Placeholder, StarterKit, TaskItem, TaskList, - // TextStyle, TiptapImage, TiptapLink, - // TiptapUnderline, Twitter, UpdatedImage, Youtube, - // Mathematics, } from "novel/extensions"; import suggestion from "./emoji/suggestion" import { UploadImagesPlugin } from "novel/plugins"; @@ -120,8 +113,6 @@ const starterKit = StarterKit.configure({ }); const codeBlockLowlight = CodeBlockLowlight.configure({ - // configure lowlight: common / all / use highlightJS in case there is a need to specify certain language grammars only - // common: covers 37 language grammars which should be good enough in most cases lowlight: createLowlight(common), }); @@ -139,14 +130,6 @@ const twitter = Twitter.configure({ inline: false, }); -// const mathematics = Mathematics.configure({ -// HTMLAttributes: { -// class: cx("text-foreground rounded p-1 hover:bg-accent cursor-pointer"), -// }, -// katexOptions: { -// throwOnError: false, -// }, -// }); const characterCount = CharacterCount.configure(); |