Merge branch 'main' of github.com:ueberdosis/tiptap-next into main

This commit is contained in:
Hans Pagel 2020-11-06 16:40:12 +01:00
commit 15c9efc5cf
4 changed files with 5 additions and 5 deletions

View File

@ -99,9 +99,6 @@
<script>
import { Editor, EditorContent, defaultExtensions } from '@tiptap/vue-starter-kit'
import Document from '@tiptap/extension-document'
import Paragraph from '@tiptap/extension-paragraph'
import Text from '@tiptap/extension-text'
import Collaboration from '@tiptap/extension-collaboration'
import CollaborationCursor from '@tiptap/extension-collaboration-cursor'
import * as Y from 'yjs'

View File

@ -30,6 +30,9 @@
>
cursive
</button>
<button @click="editor.chain().focus().fontFamily().run()">
Remove font-family
</button>
<editor-content :editor="editor" />
</div>

View File

@ -1,4 +1,4 @@
# Text Style
# TextStyle
This mark renders a `<span>` HTML tag and enables you to add a list of styling related attributes, for example font-family, font-size, or font-color. The extension doesnt add any styling attribute by default, but other extensions use it as the foundation, for example [`FontFamily`](/api/extensions/font-family).
## Installation

View File

@ -112,7 +112,7 @@
link: /api/marks/link
- title: Strike
link: /api/marks/strike
- title: Text Style
- title: TextStyle
link: /api/marks/text-style
draft: true
- title: Underline