add tiptap 2 note to the README

This commit is contained in:
Hans Pagel 2020-09-30 15:24:45 +02:00
parent fddabade26
commit 270f565b0c

View File

@ -22,6 +22,14 @@ With renderless components you'll have (almost) full control over markup and sty
You can save your data as a raw `HTML` string or can get a `JSON`-serializable representation of your document. And of course, you can pass these two types back to the editor.
## Should I start to integrate tiptap 1 or wait for tiptap 2?
Good question! Tiptap 2 is about to come in the next months and were going to provide an upgrade guide for you. Sure, there are a lot of things that will change, but you should be able to refactor everything in an hour so (depending on the size of your project).
The extension API will have a lot of breaking changes. So if youre up to write a lot of custom extensions, expect to rewrite them for tiptap 2. Youll likely reuse all the single parts (schema, inputRules, pasteRules, keyboard shortcuts …), but the API to register them will be different.
**In other words: No need to wait for tiptap 2.** Start your project, youll be able to upgrade in a reasonable amount of time.
## 💖 Sponsor the development
Are you using tiptap in production? We need your sponsorship to maintain, update and develop tiptap. [Become a Sponsor now!](https://github.com/sponsors/ueberdosis)