+
+
+
+
+
diff --git a/docs/src/docPages/api/extensions/annotation.md b/docs/src/docPages/api/extensions/annotation.md
new file mode 100644
index 00000000..c65fea66
--- /dev/null
+++ b/docs/src/docPages/api/extensions/annotation.md
@@ -0,0 +1,8 @@
+# Annotation
+TODO
+
+## Source code
+[packages/extension-annotation/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-annotation/)
+
+## Usage
+
diff --git a/docs/src/docPages/api/extensions/suggestion.md b/docs/src/docPages/api/extensions/suggestion.md
index c8c92987..3539f167 100644
--- a/docs/src/docPages/api/extensions/suggestion.md
+++ b/docs/src/docPages/api/extensions/suggestion.md
@@ -1,7 +1,7 @@
# Suggestion
:::pro Fund the development 💖
-We need your support to maintain, update, support and develop tiptap 2. If you’re waiting for this extension, [become a sponsor and fund the open-source](/sponsor).
+We need your support to maintain, update, support and develop tiptap 2. If you’re waiting for this extension, [become a sponsor and fund open source](/sponsor).
:::
TODO
diff --git a/docs/src/docPages/api/nodes/emoji.md b/docs/src/docPages/api/nodes/emoji.md
new file mode 100644
index 00000000..f8705b6a
--- /dev/null
+++ b/docs/src/docPages/api/nodes/emoji.md
@@ -0,0 +1,7 @@
+# Emoji
+
+:::pro Fund the development 💖
+We need your support to maintain, update, support and develop tiptap 2. If you’re waiting for this extension, [become a sponsor and fund open source](/sponsor).
+:::
+
+TODO
diff --git a/docs/src/docPages/api/nodes/hashtag.md b/docs/src/docPages/api/nodes/hashtag.md
new file mode 100644
index 00000000..e0aeaf3a
--- /dev/null
+++ b/docs/src/docPages/api/nodes/hashtag.md
@@ -0,0 +1,7 @@
+# Hashtag
+
+:::pro Fund the development 💖
+We need your support to maintain, update, support and develop tiptap 2. If you’re waiting for this extension, [become a sponsor and fund open source](/sponsor).
+:::
+
+TODO
diff --git a/docs/src/docPages/api/nodes/mention.md b/docs/src/docPages/api/nodes/mention.md
index 3d15ae56..3d1c2d72 100644
--- a/docs/src/docPages/api/nodes/mention.md
+++ b/docs/src/docPages/api/nodes/mention.md
@@ -1,5 +1,9 @@
# Mention
+:::pro Fund the development 💖
+We need your support to maintain, update, support and develop tiptap 2. If you’re waiting for this extension, [become a sponsor and fund open source](/sponsor).
+:::
+
## Installation
```bash
# with npm
diff --git a/docs/src/docPages/api/nodes/table-cell.md b/docs/src/docPages/api/nodes/table-cell.md
index 17ee77ed..60f98068 100644
--- a/docs/src/docPages/api/nodes/table-cell.md
+++ b/docs/src/docPages/api/nodes/table-cell.md
@@ -1,7 +1,7 @@
# TableCell
:::pro Fund the development 💖
-We need your support to maintain, update, support and develop tiptap 2. If you’re waiting for this extension, [become a sponsor and fund the open-source](/sponsor).
+We need your support to maintain, update, support and develop tiptap 2. If you’re waiting for this extension, [become a sponsor and fund open source](/sponsor).
:::
TODO
diff --git a/docs/src/docPages/api/nodes/table-row.md b/docs/src/docPages/api/nodes/table-row.md
index cb997243..8e404803 100644
--- a/docs/src/docPages/api/nodes/table-row.md
+++ b/docs/src/docPages/api/nodes/table-row.md
@@ -1,7 +1,7 @@
# TableRow
:::pro Fund the development 💖
-We need your support to maintain, update, support and develop tiptap 2. If you’re waiting for this extension, [become a sponsor and fund the open-source](/sponsor).
+We need your support to maintain, update, support and develop tiptap 2. If you’re waiting for this extension, [become a sponsor and fund open source](/sponsor).
:::
TODO
diff --git a/docs/src/docPages/api/nodes/table.md b/docs/src/docPages/api/nodes/table.md
index 5e874697..9ffa2192 100644
--- a/docs/src/docPages/api/nodes/table.md
+++ b/docs/src/docPages/api/nodes/table.md
@@ -1,7 +1,7 @@
# Table
:::pro Fund the development 💖
-We need your support to maintain, update, support and develop tiptap 2. If you’re waiting for this extension, [become a sponsor and fund the open-source](/sponsor).
+We need your support to maintain, update, support and develop tiptap 2. If you’re waiting for this extension, [become a sponsor and fund open source](/sponsor).
:::
TODO
diff --git a/docs/src/docPages/examples/multiple-editors.md b/docs/src/docPages/examples/multiple-editors.md
index ccfe1c6e..da61e913 100644
--- a/docs/src/docPages/examples/multiple-editors.md
+++ b/docs/src/docPages/examples/multiple-editors.md
@@ -1,9 +1,5 @@
# Multiple editors
-The following examples has three different instances of tiptap. The first is configured to have a single paragraph of text, the second to have a task list and the third to have text. All of them are stored in a single Y.js document, which is synced with other users.
-
-:::warning Shared Document
-Be nice! The content of this editor is shared with other users from the Internet.
-:::
+The following example has three different instances of tiptap. The first is configured to have a single paragraph of text, the second to have a task list and the third to have text. All of them are stored in a single Y.js document, which can be synced with other users.
diff --git a/docs/src/docPages/experiments.md b/docs/src/docPages/experiments.md
new file mode 100644
index 00000000..262720b5
--- /dev/null
+++ b/docs/src/docPages/experiments.md
@@ -0,0 +1,7 @@
+# Experiments
+Congratulations! You’ve found our secret playground with a list of experiments. Be aware, that nothing here is ready to use. Feel free to play around, but please, don’t open an issue for a bug you’ve found here or send pull requests. :-)
+
+* [Linter](/experiments/linter)
+* [Annotation](/experiments/annotation)
+* [Comments](/experiments/comments)
+* [CharacterLimit](/experiments/character-limit)
diff --git a/docs/src/docPages/experiments/annotation.md b/docs/src/docPages/experiments/annotation.md
new file mode 100644
index 00000000..4d4ebbe5
--- /dev/null
+++ b/docs/src/docPages/experiments/annotation.md
@@ -0,0 +1,5 @@
+# Annotation
+
+⚠️ Experiment
+
+
diff --git a/docs/src/docPages/experiments/character-limit.md b/docs/src/docPages/experiments/character-limit.md
new file mode 100644
index 00000000..fa6a209a
--- /dev/null
+++ b/docs/src/docPages/experiments/character-limit.md
@@ -0,0 +1,5 @@
+# CharacterLimit
+
+⚠️ Experiment
+
+
diff --git a/docs/src/docPages/experiments/comments.md b/docs/src/docPages/experiments/comments.md
new file mode 100644
index 00000000..42fda436
--- /dev/null
+++ b/docs/src/docPages/experiments/comments.md
@@ -0,0 +1,5 @@
+# Comments
+
+⚠️ Experiment
+
+
diff --git a/docs/src/docPages/experiments/linter.md b/docs/src/docPages/experiments/linter.md
new file mode 100644
index 00000000..37d083f8
--- /dev/null
+++ b/docs/src/docPages/experiments/linter.md
@@ -0,0 +1,5 @@
+# Linter
+
+⚠️ Experiment
+
+
diff --git a/docs/src/docPages/guide/accessibility.md b/docs/src/docPages/guide/accessibility.md
new file mode 100644
index 00000000..711ecc5c
--- /dev/null
+++ b/docs/src/docPages/guide/accessibility.md
@@ -0,0 +1,30 @@
+# Accessibility
+
+:::pro Fund the development 💖
+We need your support to maintain, update, support and develop tiptap 2. If you’re waiting for progress here, [become a sponsor and fund open source](/sponsor).
+:::
+
+## toc
+
+## Introduction
+We strive to make tiptap accessible to everyone, but to be honest, there’s not much work done now. From our current understanding, that’s what needs to be done:
+
+### Interface
+An interface needs to have semantic markup, must be keyboard accessible and well documented. Currently, we don’t even provide an interface, so for now that’s totally up to you. But no worries, we’ll provide an interface soon and take accessibility into account early on.
+
+### Editor
+The editor needs to produce semantic markup, must be keyboard accessible and well documented. The tiptap content is well structured so that’s a good foundation already. That said, we can add support and encourage the usage of additional attributes, for example the Alt-attribute for images.
+
+### Writing assistance (optional)
+An optional writing assitance could help people writing content semanticly correct, for example pointing out an incorrect usage of heading levels. With that kind of assistance provided by the core developers, we could help to improve the content of a lot of applications.
+
+## Resources
+
+| Document | Section | Heading |
+| -------- | ------- | -------------------------------------------------------------------------------------- |
+| WCAG 2.1 | 1.1 | [Text Alternatives](https://www.w3.org/WAI/WCAG21/Understanding/text-alternatives) |
+| WCAG 2.1 | 1.1.1 | [Non-text Content](https://www.w3.org/WAI/WCAG21/Understanding/non-text-content) |
+| WCAG 2.1 | 2.1 | [Keyboard Accessible](https://www.w3.org/WAI/WCAG21/Understanding/keyboard-accessible) |
+| WCAG 2.1 | 2.1.1 | [Keyboard](https://www.w3.org/WAI/WCAG21/Understanding/keyboard) |
+| WCAG 2.1 | 4.1.1 | [Parsing](https://www.w3.org/WAI/WCAG21/Understanding/parsing) |
+| WCAG 2.1 | 4.1.2 | [Name, Role, Value](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value) |
diff --git a/docs/src/docPages/guide/typescript.md b/docs/src/docPages/guide/typescript.md
new file mode 100644
index 00000000..0e4a1a01
--- /dev/null
+++ b/docs/src/docPages/guide/typescript.md
@@ -0,0 +1,51 @@
+# Working with TypeScript
+
+## toc
+
+## Introduction
+The whole tiptap is code base is written in TypeScript. If you haven’t heard of it or never used it, no worries. You don’t have to.
+
+TypeScript extends JavaScript by adding types (hence the name). It adds new syntax, which doesn’t exist in plain JavaScript. It’s actually removed before running in the browser, but this step – the compilation – is important to find bugs early. It checks if you passe the right types of data to functions. For a big and complex project, that’s very valuable. It means we’ll get notified of lot of bugs, before shipping code to you.
+
+Anyway, if you don’t use TypeScript in your project, that’s fine. You’ll still be able to use tiptap and even get a really nice autocomplete for the tiptap API (if your editor supports it, but most do).
+
+If you’re using TypeScript in your project and want to extend tiptap, there are two things that are good to know.
+
+## Options type
+To extend or create default options for an extension, you’ll need to define a custom type, here is an example:
+
+```ts
+import { Extension } from '@tiptap/core'
+
+export interface CustomExtensionOptions {
+ awesomeness: number,
+}
+
+const CustomExtension = Extension.create({
+ defaultOptions: {
+ awesomeness: 100,
+ },
+})
+```
+
+## Command type
+The core package also exports a `Command` type, which needs to be added to all commands that you specify in your code. Here is an example:
+
+```ts
+import { Command, Extension } from '@tiptap/core'
+
+const CustomExtension = Extension.create({
+ addCommands() {
+ return {
+ /**
+ * Comments will be added to the autocomplete.
+ */
+ yourCommand: (): Command => ({ commands }) => {
+ // …
+ },
+ }
+ },
+})
+```
+
+That’s basically it. We’re doing all the rest automatically.
diff --git a/docs/src/docPages/overview/feedback.md b/docs/src/docPages/overview/feedback.md
deleted file mode 100644
index 8844146e..00000000
--- a/docs/src/docPages/overview/feedback.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# Feedback
-
-We’re looking for your feedback to improve tiptap 2 before the first public release! Share everything that helps to make it better for everyone!
-
-* Create issues on GitHub! [Link](https://github.com/ueberdosis/tiptap-next/issues)
-* Send an email! [humans@tiptap.dev](mailto:humans@tiptap.dev)
-* Follow us on Twitter! [@hanspagel](https://twitter.com/hanspagel), [@_philippkuehn](https://twitter.com/_philippkuehn), or [@_ueberdosis](https://twitter.com/_ueberdosis)
diff --git a/docs/src/docPages/sponsor.md b/docs/src/docPages/sponsor.md
index 366806d0..31f4857f 100644
--- a/docs/src/docPages/sponsor.md
+++ b/docs/src/docPages/sponsor.md
@@ -1,11 +1,12 @@
# Become a sponsor
-To deliver a top-notch developer experience and user experience, we put hundreds of hours of unpaid work into tiptap. Your funding helps us to make this work more and more financially sustainable. This enables us, to provide helpful support, maintain all our packages, keep everything up to date, and develop new features and extensions for tiptap.
+To deliver a top-notch developer experience and user experience, we put ~~hundreds~~ thousands of hours of unpaid work into tiptap. Your funding helps us to make this work more and more financially sustainable. This enables us to provide helpful support, maintain all our packages, keep everything up to date, and develop new features and extensions for tiptap.
-If you’re using tiptap in a commercial project or just want to give back to the open source community, you can [sponsor us on GitHub](https://github.com/sponsors/ueberdosis).
+Give back to the open source community and [sponsor us on GitHub](https://github.com/sponsors/ueberdosis)! 💖
## Your benefits as a sponsor
* Give back to the open source community
* Get early access to private repositories
+* Ensure the further maintenace and development of tiptap
* Your issues and pull requests get a `sponsor 💖` label
* Get a sponsor badge in all your comments on GitHub
* Show support in your GitHub profile
@@ -13,11 +14,28 @@ If you’re using tiptap in a commercial project or just want to give back to th
Does that sound good? [Sponsor us on GitHub!](https://github.com/sponsors/ueberdosis)
-## I can’t use GitHub.
-If you’re a company, don’t want to use GitHub, don’t have a credit card or want a proper invoice form us, just reach out to us at [humans@tiptap.dev](mailto:humans@tiptap.dev).
+## The maintainers of tiptap
+If you’re thankful for tiptap, you should say thank you to all 12 lovely people of [überdosis](https://twitter.com/_ueberdosis). The amazing company we’re all building together and the amazing company that funded the initial development costs of tiptap 2.
-## I want consulting.
-We don’t do any calls, consulting or personal support. If you have an issue, a question, want to talk something through or anything else, [please use GitHub issues](https://github.com/ueberdosis/tiptap-next/issues), to keep everything accessible for the whole community.
+AND you should definitely hire us if you want us to design und build an amazing digital product for you. Bonus points if it’s somehow text editing related.
-## Can we have a call?
+But here are the friendly faces of the two maintainer of tiptap, Philipp Kühn (left) and Hans Pagel (right). You’ve probably read our names in the thousands of commits, pull requests or Tweets already.
+
+
+
+## More peace of mind
+Companies betting on tiptap probably want some peace of mind and ensure that we keep maintaining tiptap, but don’t forget that our work is based on the work of other lovely people that you should definitel sponsor too:
+
+* [Sponsor Marijn Haverbeke](https://marijnhaverbeke.nl/fund/) (ProseMirror)
+* [Sponsor Kevin Jahns](https://github.com/sponsors/dmonad) (Y.js)
+
+## Frequently asked questions
+
+### I can’t use GitHub. How can I support you?
+If you’re a company, don’t want to use GitHub, don’t have a credit card or want a proper invoice from us, just reach out to us at [humans@tiptap.dev](mailto:humans@tiptap.dev).
+
+### I want consulting. What’s your rate?
+We don’t do any calls, consulting or personal support for tiptap. If you have an issue, a question, want to talk something through or anything else, [please use GitHub issues](https://github.com/ueberdosis/tiptap-next/issues) to keep everything accessible for the whole community.
+
+### Can we have a call?
Nope, we are big fans of asynchronous communication. If you really need to reach out in private, send us an email to [humans@tiptap.dev](mailto:humans@tiptap.dev), but don’t expect technical email support.
diff --git a/docs/src/layouts/App/index.vue b/docs/src/layouts/App/index.vue
index 1ccb734f..3f5e4c82 100644
--- a/docs/src/layouts/App/index.vue
+++ b/docs/src/layouts/App/index.vue
@@ -65,10 +65,6 @@