minor fixes

This commit is contained in:
Hans Pagel
2020-09-23 10:01:53 +02:00
parent 789296be4e
commit 074ba2ecee
2 changed files with 10 additions and 3 deletions

View File

@@ -1,9 +1,7 @@
# Custom Extensions
Lets extend tiptap with a custom extension!
## Option 1: Change defaults
Lets say you want to change the keyboard shortcuts for the bullet list. You should start by looking at [the source code of the `Bold` extension](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-bold/index.ts) and find the default youd like to change. In that case, the keyboard shortcut.
```js
@@ -28,4 +26,4 @@ new Editor({
## Option 2: Extend existing extensions
## Option 3: Start from scratch
## Option 3: Start from scratch