tiptap/packages/tiptap-starter-kit/index.ts

13 lines
324 B
TypeScript
Raw Normal View History

2020-03-06 19:18:20 +08:00
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(),
]
}