mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-23 00:27:49 +08:00
13 lines
324 B
TypeScript
13 lines
324 B
TypeScript
|
import Document from '@tiptap/document-extension'
|
||
|
import History from '@tiptap/history-extension'
|
||
|
import Paragraph from '@tiptap/paragraph-extension'
|
||
|
import Text from '@tiptap/text-extension'
|
||
|
|
||
|
export default function extensions() {
|
||
|
return [
|
||
|
new Document(),
|
||
|
new History(),
|
||
|
new Paragraph(),
|
||
|
new Text(),
|
||
|
]
|
||
|
}
|