update starter kits

This commit is contained in:
Philipp Kühn 2020-09-10 11:43:09 +02:00
parent 3206b6e5eb
commit bf63f6ba4c
3 changed files with 15 additions and 3 deletions

View File

@ -19,7 +19,7 @@ You dont have to use it, but we prepared a `@tiptap/vue-starter-kit` which in
| [BulletList](/api/extensions/bullet-list) | | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-bullet-list/) |
| [Code](/api/extensions/code) | Yes | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-code/) |
| [Document](/api/extensions/document) | Yes | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-document/) |
| [HardBreak](/api/extensions/hard-break) | | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-hard-break/) |
| [HardBreak](/api/extensions/hard-break) | Yes | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-hard-break/) |
| [Heading](/api/extensions/heading) | Yes | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-heading/) |
| [History](/api/extensions/history) | Yes | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-history/) |
| [HorizontalRule](/api/extensions/horizontal-rule) | | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-horizontal-rule/) |
@ -27,9 +27,9 @@ You dont have to use it, but we prepared a `@tiptap/vue-starter-kit` which in
| [Link](/api/extensions/link) | | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-link/) |
| [OrderedList](/api/extensions/ordered-list) | | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-ordered-list/) |
| [Paragraph](/api/extensions/paragraph) | Yes | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-paragraph/) |
| [Strike](/api/extensions/strike) | | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-strike/) |
| [Strike](/api/extensions/strike) | Yes | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-strike/) |
| [Text](/api/extensions/text) | Yes | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-text/) |
| [Underline](/api/extensions/underline) | | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-underline/) |
| [Underline](/api/extensions/underline) | Yes | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-underline/) |
<!-- | [CodeBlock](/api/extensions/code-block) | Yes | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-code-block/) -->
<!-- | [CodeBlockHighlight](/api/extensions/code-block-highlight) | | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packagescode-block-highlight/extension-/) -->

View File

@ -7,6 +7,9 @@ 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-hardbreak'
import Strike from '@tiptap/extension-strike'
import Underline from '@tiptap/extension-underline'
export default function defaultExtensions() {
return [
@ -19,5 +22,8 @@ export default function defaultExtensions() {
Code(),
CodeBlock(),
Heading(),
Hardbreak(),
Strike(),
Underline(),
]
}

View File

@ -9,6 +9,9 @@ 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-hardbreak'
import Strike from '@tiptap/extension-strike'
import Underline from '@tiptap/extension-underline'
export function defaultExtensions() {
return [
@ -21,5 +24,8 @@ export function defaultExtensions() {
Code(),
CodeBlock(),
Heading(),
Hardbreak(),
Strike(),
Underline(),
]
}