change Editor import

This commit is contained in:
Ammar Ahmed
2022-07-01 10:26:50 +05:00
parent 4113d1f4b3
commit f9269daa0e
5 changed files with 24724 additions and 47080 deletions

View File

@@ -1,4 +1,4 @@
import { Editor } from "@tiptap/core";
import { Editor } from "notesnook-editor";
import { Attachment } from "notesnook-editor/dist/extensions/attachment";
import { useCallback, useEffect, useRef, useState } from "react";
import { useEditorThemeStore } from "../state/theme";