diff --git a/packages/editor/rich-text-editor/src/index.ts b/packages/editor/rich-text-editor/src/index.ts index dd8f35791..36d0a95f9 100644 --- a/packages/editor/rich-text-editor/src/index.ts +++ b/packages/editor/rich-text-editor/src/index.ts @@ -1,4 +1,4 @@ -import "@/styles/github-dark.css"; +import "./styles/github-dark.css"; -export { RichTextEditor, RichTextEditorWithRef } from "@/ui"; -export { RichReadOnlyEditor, RichReadOnlyEditorWithRef } from "@/ui/read-only"; +export { RichTextEditor, RichTextEditorWithRef } from "./ui"; +export { RichReadOnlyEditor, RichReadOnlyEditorWithRef } from "./ui/read-only"; diff --git a/packages/editor/rich-text-editor/src/ui/menus/bubble-menu/link-selector.tsx b/packages/editor/rich-text-editor/src/ui/menus/bubble-menu/link-selector.tsx index cf347cf3b..ba53608c5 100644 --- a/packages/editor/rich-text-editor/src/ui/menus/bubble-menu/link-selector.tsx +++ b/packages/editor/rich-text-editor/src/ui/menus/bubble-menu/link-selector.tsx @@ -1,7 +1,7 @@ import { Editor } from "@tiptap/core"; import { Check, Trash } from "lucide-react"; import { Dispatch, FC, SetStateAction, useCallback, useEffect, useRef } from "react"; -import isValidHttpUrl from "@/ui/menus/bubble-menu/utils"; +import isValidHttpUrl from "./utils"; import { cn } from "@plane/editor-core"; interface LinkSelectorProps { diff --git a/packages/editor/rich-text-editor/tsconfig.json b/packages/editor/rich-text-editor/tsconfig.json index f83a493ea..c6fe47fe3 100644 --- a/packages/editor/rich-text-editor/tsconfig.json +++ b/packages/editor/rich-text-editor/tsconfig.json @@ -10,11 +10,6 @@ "node_modules" ], "compilerOptions": { - "baseUrl": ".", - "paths": { - "@/*": [ - "src/*" - ] - } + "baseUrl": "." } }