tiptap/packages/starter-kit/index.ts

13 lines
324 B
TypeScript
Raw Normal View History

2020-03-28 05:04:02 +08:00
import Document from '@tiptap/extension-document'
import History from '@tiptap/extension-history'
import Paragraph from '@tiptap/extension-paragraph'
import Text from '@tiptap/extension-text'
2020-03-06 19:18:20 +08:00
export default function extensions() {
return [
new Document(),
new History(),
new Paragraph(),
new Text(),
]
}