Migrate from EditorJs to Tiptap #6093
Unanswered
ekta-7span
asked this question in
Questions & Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have existing project in which i have used editor js and storing data in json format. Now I want to migrate to Tiptap, whose json output is different from editorjs json output.
Editor Js json:
{ "time": 1739252941923, "blocks": [ { "id": "C4IjVeqPFS", "type": "paragraph", "data": { "text": "✍ Note:" } }, { "id": "JTK1ogK05E", "type": "paragraph", "data": { "text": "- Send PM intro if rates are ok w/ Arjun" } }, { "id": "adRo2QZbTP", "type": "checklist", "data": { "items": [ { "text": "<b>Keep whatsapp sheet up to date</b>", "checked": false }, { "text": "Remove Adam Cooper from Whatsapp groups", "checked": true }, { "text": "Deb - 2nd payment inv inquiry", "checked": false } ] } }, { "id": "0R3AD79wLf", "type": "header", "data": { "text": "❓Questions❓", "level": 3 } } ], "version": "2.31.0-rc.7" }
Tiptap Json:
{ "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "/aSD/ASd" } ] }, { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "hello" } ] }, { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "hello" } ] }, { "type": "paragraph" }, { "type": "paragraph" } ] }
Beta Was this translation helpful? Give feedback.
All reactions