mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-25 04:19:02 +08:00
fix: Typo (#3132)
This commit is contained in:
parent
4851fc5e9b
commit
19d29297ef
@ -41,7 +41,7 @@ Existing [nodes](/api/nodes), [marks](/api/marks) and [extensions](/api/extensio
|
|||||||
We recommend to start with customizing existing extensions first, and create your own extensions with the gained knowledge later. That’s why all the below examples extend existing extensions, but all examples will work on newly created extensions aswell.
|
We recommend to start with customizing existing extensions first, and create your own extensions with the gained knowledge later. That’s why all the below examples extend existing extensions, but all examples will work on newly created extensions aswell.
|
||||||
|
|
||||||
## Create a new extension
|
## Create a new extension
|
||||||
You’re free to create your own extensions for Tiptap. Here is the boilerplate code that’s need to create and register your own extension:
|
You’re free to create your own extensions for Tiptap. Here is the boilerplate code that’s needed to create and register your own extension:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import { Extension } from '@tiptap/core'
|
import { Extension } from '@tiptap/core'
|
||||||
|
Loading…
Reference in New Issue
Block a user