rename table of contents to keep the search results clean

This commit is contained in:
Hans Pagel
2020-10-28 15:25:06 +01:00
parent 3e2c72cc93
commit 8c3a2b7d1c
17 changed files with 18 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
# Commands
## Table of Contents
## toc
## Introduction
The editor provides a ton of commands to programmtically add or change content or alter the selection. If you want to build your own editor you definitely want to learn more about them.

View File

@@ -1,6 +1,6 @@
# Editor
## Table of Contents
## 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.

View File

@@ -1,6 +1,6 @@
# Events
## Table of Contents
## toc
## Introduction
The editor fires a few different events that you can hook into. There are two ways to register event listeners:

View File

@@ -1,6 +1,6 @@
# Extensions
## Table of Contents
## toc
## Introduction
Extensions are the way to add functionality to tiptap. By default tiptap comes bare, without any of them, but we have a long list of extensions that are ready to be used with tiptap.

View File

@@ -1,6 +1,6 @@
# Keyboard Shortcuts
## Table of Contents
## toc
## Introduction
Keyboard shortcuts may be strings like `'Shift-Control-Enter'`. Keys are based on the strings that can appear in `event.key`, concatenated with a `-`. There is a little tool called [keycode.info](https://keycode.info/), which shows the `event.key` interactively.

View File

@@ -1,6 +1,6 @@
# Schema
## Table of Contents
## 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.