Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

core: fix `convert` is not defined error

Abdullah Atta1823a4f4ba54
diff --git a/packages/core/content-types/tiptap.js b/packages/core/content-types/tiptap.js
index dc08ced86..1249e495f 100644
--- a/packages/core/content-types/tiptap.js
+++ b/packages/core/content-types/tiptap.js
@@ -25,6 +25,8 @@ import {
parseHTML
} from "../utils/html-parser";
import { Attributes, HTMLParser, HTMLRewriter } from "../utils/html-rewriter";
+import { convert } from "html-to-text";
+import { list } from "html-to-text/lib/formatter";
const ATTRIBUTES = {
hash: "data-hash",