This commit is contained in:
Mohammad Hussain Nagaria 2022-09-01 17:27:20 +05:30 committed by GitHub
parent 4851fc5e9b
commit 19d29297ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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. Thats why all the below examples extend existing extensions, but all examples will work on newly created extensions aswell.
## Create a new extension
Youre free to create your own extensions for Tiptap. Here is the boilerplate code thats need to create and register your own extension:
Youre free to create your own extensions for Tiptap. Here is the boilerplate code thats needed to create and register your own extension:
```js
import { Extension } from '@tiptap/core'