tiptap/packages/vue-starter-kit/index.ts
Philipp Kühn 32fcd4cbfa rename
2020-09-10 11:50:34 +02:00

31 lines
835 B
TypeScript

export * from '@tiptap/vue'
import Document from '@tiptap/extension-document'
import Paragraph from '@tiptap/extension-paragraph'
import Text from '@tiptap/extension-text'
import History from '@tiptap/extension-history'
import Bold from '@tiptap/extension-bold'
import Italic from '@tiptap/extension-italic'
import Code from '@tiptap/extension-code'
import CodeBlock from '@tiptap/extension-codeblock'
import Heading from '@tiptap/extension-heading'
import HardBreak from '@tiptap/extension-hard-break'
import Strike from '@tiptap/extension-strike'
import Underline from '@tiptap/extension-underline'
export function defaultExtensions() {
return [
Document(),
History(),
Paragraph(),
Text(),
Bold(),
Italic(),
Code(),
CodeBlock(),
Heading(),
HardBreak(),
Strike(),
Underline(),
]
}