diff --git a/docs/src/docPages/api/commands.md b/docs/src/docPages/api/commands.md index 7d471916..fd7ae0fe 100644 --- a/docs/src/docPages/api/commands.md +++ b/docs/src/docPages/api/commands.md @@ -4,8 +4,6 @@ tableOfContents: true # Commands -## toc - ## Introduction The editor provides a ton of commands to programmatically add or change content or alter the selection. If you want to build your own editor you definitely want to learn more about them. diff --git a/docs/src/docPages/api/editor.md b/docs/src/docPages/api/editor.md index 057cde27..5dac22d4 100644 --- a/docs/src/docPages/api/editor.md +++ b/docs/src/docPages/api/editor.md @@ -4,8 +4,6 @@ tableOfContents: true # Editor -## toc - ## Introduction This class is a central building block of tiptap. It does most of the heavy lifting of creating a working [ProseMirror](https://ProseMirror.net/) editor such as creating the [`EditorView`](https://ProseMirror.net/docs/ref/#view.EditorView), setting the initial [`EditorState`](https://ProseMirror.net/docs/ref/#state.Editor_State) and so on. diff --git a/docs/src/docPages/api/events.md b/docs/src/docPages/api/events.md index bfba5fa3..f09c5b5a 100644 --- a/docs/src/docPages/api/events.md +++ b/docs/src/docPages/api/events.md @@ -4,8 +4,6 @@ tableOfContents: true # Events -## toc - ## Introduction The editor fires a few different events that you can hook into. Let’s have a look at all the available events first: diff --git a/docs/src/docPages/api/extensions.md b/docs/src/docPages/api/extensions.md index facc0e6f..2d5b318d 100644 --- a/docs/src/docPages/api/extensions.md +++ b/docs/src/docPages/api/extensions.md @@ -4,8 +4,6 @@ tableOfContents: true # Extensions -## toc - ## Introduction Extensions add new capabilities to tiptap and you’ll read the word extension here very often. Actually, there are literal Extensions. Those can’t add to the schema, but can add functionality or change the behaviour of the editor. diff --git a/docs/src/docPages/api/keyboard-shortcuts.md b/docs/src/docPages/api/keyboard-shortcuts.md index 44e72288..5550efcf 100644 --- a/docs/src/docPages/api/keyboard-shortcuts.md +++ b/docs/src/docPages/api/keyboard-shortcuts.md @@ -4,8 +4,6 @@ tableOfContents: true # Keyboard Shortcuts -## toc - ## Introduction tiptap comes with sensible keyboard shortcut defaults. Depending on what you want to use it for, you’ll probably want to change those keyboard shortcuts to your liking. Let’s have a look at what we defined for you, and show you how to change it then! diff --git a/docs/src/docPages/api/marks.md b/docs/src/docPages/api/marks.md index 35faf17b..a29788a3 100644 --- a/docs/src/docPages/api/marks.md +++ b/docs/src/docPages/api/marks.md @@ -4,8 +4,6 @@ tableOfContents: true # Marks -## toc - ## Introduction One or multiple marks can be applied to [nodes](/api/nodes), for example to add inline formatting like bold and italic, or other additional information. diff --git a/docs/src/docPages/api/nodes.md b/docs/src/docPages/api/nodes.md index f818658c..694e86d4 100644 --- a/docs/src/docPages/api/nodes.md +++ b/docs/src/docPages/api/nodes.md @@ -4,8 +4,6 @@ tableOfContents: true # Nodes -## toc - ## Introduction If you think of the document as a tree, then nodes are just a type of content in that tree. Examples of nodes are paragraphs, headings, or code blocks. But nodes don’t have to be blocks. They can also be rendered inline with the text, for example for **@mentions**. diff --git a/docs/src/docPages/api/schema.md b/docs/src/docPages/api/schema.md index 2db556e7..815ee622 100644 --- a/docs/src/docPages/api/schema.md +++ b/docs/src/docPages/api/schema.md @@ -4,8 +4,6 @@ tableOfContents: true # Schema -## toc - ## Introduction Unlike many other editors, tiptap is based on a [schema](https://prosemirror.net/docs/guide/#schema) that defines how your content is structured. That enables you to define the kind of nodes that may occur in the document, its attributes and the way they can be nested. diff --git a/docs/src/docPages/examples/collaborative-editing.md b/docs/src/docPages/examples/collaborative-editing.md index 4851c476..6118c2b7 100644 --- a/docs/src/docPages/examples/collaborative-editing.md +++ b/docs/src/docPages/examples/collaborative-editing.md @@ -8,8 +8,6 @@ tableOfContents: true Using the collaborative editing commercially? [Become a sponsor](/sponsor) to fund its development! ::: -## toc - ## Introduction This example shows how you can use tiptap to let multiple users collaborate in the same document in real-time. diff --git a/docs/src/docPages/guide/accessibility.md b/docs/src/docPages/guide/accessibility.md index 65e9e7de..ac556054 100644 --- a/docs/src/docPages/guide/accessibility.md +++ b/docs/src/docPages/guide/accessibility.md @@ -8,8 +8,6 @@ tableOfContents: true We need your support to maintain, update, support and develop tiptap. If you’re waiting for progress here, [become a sponsor and fund our work](/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: diff --git a/docs/src/docPages/guide/collaborative-editing.md b/docs/src/docPages/guide/collaborative-editing.md index 77dcef39..aeb207c3 100644 --- a/docs/src/docPages/guide/collaborative-editing.md +++ b/docs/src/docPages/guide/collaborative-editing.md @@ -4,8 +4,6 @@ tableOfContents: true # Collaborative editing -## toc - ## Introduction Real-time collaboration, syncing between different devices and working offline used to be hard. We provide everything you need to keep everything in sync, conflict-free with the power of [Y.js](https://github.com/yjs/yjs). The following guide explains all things to take into account when you consider to make tiptap collaborative. Don’t worry, a production-grade setup doesn’t require much code. diff --git a/docs/src/docPages/guide/configuration.md b/docs/src/docPages/guide/configuration.md index 3f1249ed..58a23163 100644 --- a/docs/src/docPages/guide/configuration.md +++ b/docs/src/docPages/guide/configuration.md @@ -4,8 +4,6 @@ tableOfContents: true # Configuration -## toc - ## Introduction For most cases it’s enough to say where tiptap should be rendered (`element`), what functionalities you want to enable (`extensions`) and what the initial document should be (`content`). diff --git a/docs/src/docPages/guide/custom-extensions.md b/docs/src/docPages/guide/custom-extensions.md index 77f70dac..99b9dccb 100644 --- a/docs/src/docPages/guide/custom-extensions.md +++ b/docs/src/docPages/guide/custom-extensions.md @@ -4,8 +4,6 @@ tableOfContents: true # Custom extensions -## toc - ## Introduction One of the strengths of tiptap is its extendability. You don’t depend on the provided extensions, it is intended to extend the editor to your liking. diff --git a/docs/src/docPages/guide/extend-extensions.md b/docs/src/docPages/guide/extend-extensions.md index 57fd29a9..aed0d206 100644 --- a/docs/src/docPages/guide/extend-extensions.md +++ b/docs/src/docPages/guide/extend-extensions.md @@ -4,5 +4,3 @@ tableOfContents: true # Overwrite & extend -## toc - diff --git a/docs/src/docPages/guide/menus.md b/docs/src/docPages/guide/menus.md index 02d1a158..2d60ab71 100644 --- a/docs/src/docPages/guide/menus.md +++ b/docs/src/docPages/guide/menus.md @@ -4,8 +4,6 @@ tableOfContents: true # Create menus -## toc - ## Introduction tiptap comes very raw, but that’s a good thing. You have full control about the appearance of it. diff --git a/docs/src/docPages/guide/node-views.md b/docs/src/docPages/guide/node-views.md index 0d5df895..0108c043 100644 --- a/docs/src/docPages/guide/node-views.md +++ b/docs/src/docPages/guide/node-views.md @@ -4,8 +4,6 @@ tableOfContents: true # Interactive node views -## toc - ## Introduction Node views are the best thing since sliced bread, at least if you are a fan of customization (and bread). With node views you can add interactive nodes to your editor. That can literally be everything. If you can write it in JavaScript, you can use it in your editor. diff --git a/docs/src/docPages/guide/node-views/examples.md b/docs/src/docPages/guide/node-views/examples.md index 97951c2c..a5e96c39 100644 --- a/docs/src/docPages/guide/node-views/examples.md +++ b/docs/src/docPages/guide/node-views/examples.md @@ -4,8 +4,6 @@ tableOfContents: true # Examples -## toc - ## Introduction Node views enable you to fully customize your nodes. We are collecting a few different examples here. Feel free to copy them and start building on them. diff --git a/docs/src/docPages/guide/node-views/js.md b/docs/src/docPages/guide/node-views/js.md index 555b92e5..2f3d507a 100644 --- a/docs/src/docPages/guide/node-views/js.md +++ b/docs/src/docPages/guide/node-views/js.md @@ -4,8 +4,6 @@ tableOfContents: true # Node views with JavaScript -## toc - ## Introduction Using frameworks like Vue or React can feel too complex, if you’re used to work without those two. Good news: You can use Vanilla JavaScript in your node views. There is just a little bit you need to know, but let’s go through this one by one. diff --git a/docs/src/docPages/guide/node-views/react.md b/docs/src/docPages/guide/node-views/react.md index 0e6f9772..a97db5ce 100644 --- a/docs/src/docPages/guide/node-views/react.md +++ b/docs/src/docPages/guide/node-views/react.md @@ -4,8 +4,6 @@ tableOfContents: true # Node views with React -## toc - ## Introduction Using Vanilla JavaScript can feel complex if you are used to work in React. Good news: You can use regular React components in your node views, too. There is just a little bit you need to know, but let’s go through this one by one. diff --git a/docs/src/docPages/guide/node-views/vue.md b/docs/src/docPages/guide/node-views/vue.md index 04f155f3..b36e0309 100644 --- a/docs/src/docPages/guide/node-views/vue.md +++ b/docs/src/docPages/guide/node-views/vue.md @@ -4,8 +4,6 @@ tableOfContents: true # Node views with Vue -## toc - ## Introduction Using Vanilla JavaScript can feel complex if you are used to work in Vue. Good news: You can use regular Vue components in your node views, too. There is just a little bit you need to know, but let’s go through this one by one. diff --git a/docs/src/docPages/guide/output.md b/docs/src/docPages/guide/output.md index 936709f1..5b52a479 100644 --- a/docs/src/docPages/guide/output.md +++ b/docs/src/docPages/guide/output.md @@ -4,8 +4,6 @@ tableOfContents: true # Output -## toc - ## Introduction You can store your content as a JSON object or as a good old HTML string. Both work fine. And of course, you can pass both formats to the editor to restore your content. Here is an interactive example, that exports the content as HTML and JSON when the document is changed: diff --git a/docs/src/docPages/guide/styling.md b/docs/src/docPages/guide/styling.md index 6f27efdd..3fb51587 100644 --- a/docs/src/docPages/guide/styling.md +++ b/docs/src/docPages/guide/styling.md @@ -4,8 +4,6 @@ tableOfContents: true # Styling -## toc - ## Introduction tiptap is headless, that means there is no styling provided. That also means, you are in full control of how your editor looks. The following methods allow you to apply custom styles to the editor. diff --git a/docs/src/docPages/guide/typescript.md b/docs/src/docPages/guide/typescript.md index 9a29b7a0..2195fe4c 100644 --- a/docs/src/docPages/guide/typescript.md +++ b/docs/src/docPages/guide/typescript.md @@ -4,8 +4,6 @@ tableOfContents: true # 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. diff --git a/docs/src/docPages/impressum.md b/docs/src/docPages/impressum.md index d4ccbc57..fd8ca708 100644 --- a/docs/src/docPages/impressum.md +++ b/docs/src/docPages/impressum.md @@ -4,8 +4,6 @@ tableOfContents: true # Impressum -## toc - ## Contact Information provided according to Sec. 5 German Telemedia Act (TMG) diff --git a/docs/src/docPages/installation.md b/docs/src/docPages/installation.md index d6850e57..ee4b6076 100644 --- a/docs/src/docPages/installation.md +++ b/docs/src/docPages/installation.md @@ -4,8 +4,6 @@ tableOfContents: true # Installation -## toc - ## Introduction tiptap is framework-agnostic and even works with Vanilla JavaScript (if that’s your thing). The following integration guides help you integrating tiptap in your JavaScript project. diff --git a/docs/src/docPages/installation/alpine.md b/docs/src/docPages/installation/alpine.md index 4bdc5c45..fb4beea2 100644 --- a/docs/src/docPages/installation/alpine.md +++ b/docs/src/docPages/installation/alpine.md @@ -5,8 +5,6 @@ tableOfContents: true # Alpine.js -## toc - ## Introduction The following guide describes how to integrate tiptap with your [Alpine.js](https://github.com/alpinejs/alpine) project. diff --git a/docs/src/docPages/installation/livewire.md b/docs/src/docPages/installation/livewire.md index 0ca1e6ae..14697513 100644 --- a/docs/src/docPages/installation/livewire.md +++ b/docs/src/docPages/installation/livewire.md @@ -5,8 +5,6 @@ tableOfContents: true # Livewire -## toc - ## Introduction The following guide describes how to integrate tiptap with your [Livewire](https://laravel-livewire.com/) project. diff --git a/docs/src/docPages/installation/nuxt.md b/docs/src/docPages/installation/nuxt.md index 258cf0b5..f2d9ee29 100644 --- a/docs/src/docPages/installation/nuxt.md +++ b/docs/src/docPages/installation/nuxt.md @@ -5,8 +5,6 @@ tableOfContents: true # Nuxt.js -## toc - ## Introduction The following guide describes how to integrate tiptap with your [Nuxt.js](https://nuxtjs.org/) project. diff --git a/docs/src/docPages/installation/react.md b/docs/src/docPages/installation/react.md index 814b8e16..a13eb896 100644 --- a/docs/src/docPages/installation/react.md +++ b/docs/src/docPages/installation/react.md @@ -5,8 +5,6 @@ tableOfContents: true # React -## toc - ## Introduction The following guide describes how to integrate tiptap with your [React](https://reactjs.org/) project. diff --git a/docs/src/docPages/installation/svelte.md b/docs/src/docPages/installation/svelte.md index 9a86d8e0..2551c643 100644 --- a/docs/src/docPages/installation/svelte.md +++ b/docs/src/docPages/installation/svelte.md @@ -5,8 +5,6 @@ tableOfContents: true # Svelte -## toc - ## Introduction The following guide describes how to integrate tiptap with your [SvelteKit](https://kit.svelte.dev/) project. diff --git a/docs/src/docPages/installation/vue2.md b/docs/src/docPages/installation/vue2.md index 822719cf..ca4ecedd 100644 --- a/docs/src/docPages/installation/vue2.md +++ b/docs/src/docPages/installation/vue2.md @@ -5,8 +5,6 @@ tableOfContents: true # Vue.js 2 -## toc - ## Introduction The following guide describes how to integrate tiptap with your [Vue](https://vuejs.org/) CLI project. diff --git a/docs/src/docPages/installation/vue3.md b/docs/src/docPages/installation/vue3.md index 1115212a..8f2c15ba 100644 --- a/docs/src/docPages/installation/vue3.md +++ b/docs/src/docPages/installation/vue3.md @@ -5,8 +5,6 @@ tableOfContents: true # Vue.js 3 -## toc - ## Introduction The following guide describes how to integrate tiptap with your [Vue](https://vuejs.org/) CLI project. diff --git a/docs/src/docPages/introduction.md b/docs/src/docPages/introduction.md index 761d809a..d4b01d6c 100644 --- a/docs/src/docPages/introduction.md +++ b/docs/src/docPages/introduction.md @@ -4,8 +4,6 @@ tableOfContents: true # Introduction -## toc - ## What’s tiptap? [![Version](https://img.shields.io/npm/v/@tiptap/core.svg?label=version)](https://www.npmjs.com/package/@tiptap/core) [![Downloads](https://img.shields.io/npm/dm/@tiptap/core.svg)](https://npmcharts.com/compare/@tiptap/core?minimal=true) diff --git a/docs/src/docPages/overview/contributing.md b/docs/src/docPages/overview/contributing.md index 635dade8..8dc714db 100644 --- a/docs/src/docPages/overview/contributing.md +++ b/docs/src/docPages/overview/contributing.md @@ -4,8 +4,6 @@ tableOfContents: true # Contributing -## toc - ## Introduction tiptap would be nothing without its lively community. Contributions have always been and will always be welcome. Here is a little bit you should know, before you send your contribution: diff --git a/docs/src/docPages/overview/upgrade-guide.md b/docs/src/docPages/overview/upgrade-guide.md index 2a0418ea..c928e654 100644 --- a/docs/src/docPages/overview/upgrade-guide.md +++ b/docs/src/docPages/overview/upgrade-guide.md @@ -4,8 +4,6 @@ tableOfContents: true # Upgrade Guide -## toc - ## Reasons to upgrade to tiptap 2.x Yes, it’s tedious work to upgrade your favorite text editor to a new API, but we made sure you’ve got enough reasons to upgrade to the newest version diff --git a/docs/src/docPages/privacy-policy.md b/docs/src/docPages/privacy-policy.md index 2de52bb3..1c541a3a 100644 --- a/docs/src/docPages/privacy-policy.md +++ b/docs/src/docPages/privacy-policy.md @@ -4,8 +4,6 @@ tableOfContents: true # Privacy Policy -## toc - ## Introduction We value your privacy and question everything that stores or processes your personal information. With that in mind, we still need a few external services to publish tiptap. diff --git a/docs/src/docPages/sponsor.md b/docs/src/docPages/sponsor.md index 8037346e..c58b9b95 100644 --- a/docs/src/docPages/sponsor.md +++ b/docs/src/docPages/sponsor.md @@ -4,8 +4,6 @@ tableOfContents: true # About the project -## toc - ## Introduction 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.