Add support for custom protocols in extension-link (#2832)
This commit is contained in:
@@ -20,6 +20,17 @@ npm install @tiptap/extension-link
|
||||
|
||||
## Settings
|
||||
|
||||
### protocols
|
||||
Additional custom protocols you would like to be recognized as links.
|
||||
|
||||
Default: `[]`
|
||||
|
||||
```js
|
||||
Link.configure({
|
||||
protocols: ['ftp', 'mailto'],
|
||||
})
|
||||
```
|
||||
|
||||
### autolink
|
||||
If enabled, it adds links as you type.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user