add re-exports to packages
This commit is contained in:
25
packages/vue-starter-kit/index.ts
Normal file
25
packages/vue-starter-kit/index.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
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'
|
||||
|
||||
export function defaultExtensions() {
|
||||
return [
|
||||
new Document(),
|
||||
new History(),
|
||||
new Paragraph(),
|
||||
new Text(),
|
||||
new Bold(),
|
||||
new Italic(),
|
||||
new Code(),
|
||||
new CodeBlock(),
|
||||
new Heading(),
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user