removed absolute imports from rich-text-editor

This commit is contained in:
Palanikannan1437 2023-10-03 09:32:16 +05:30
parent 0080880852
commit 95e5a30614
3 changed files with 5 additions and 10 deletions

View File

@ -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";

View File

@ -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 {

View File

@ -10,11 +10,6 @@
"node_modules"
],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": [
"src/*"
]
}
"baseUrl": "."
}
}