update readme

This commit is contained in:
Philipp Kühn
2018-09-06 23:35:13 +02:00
parent fbe61109e9
commit 395ef2123a

View File

@@ -100,9 +100,11 @@ By default the editor will only support paragraphs. Other nodes and marks are av
<script> <script>
import { Editor } from 'tiptap' import { Editor } from 'tiptap'
import { import {
// Nodes
BlockquoteNode, BlockquoteNode,
BulletListNode, BulletListNode,
CodeBlockNode, CodeBlockNode,
CodeBlockHighlightNode,
HardBreakNode, HardBreakNode,
HeadingNode, HeadingNode,
ImageNode, ImageNode,
@@ -110,11 +112,17 @@ import {
OrderedListNode, OrderedListNode,
TodoItemNode, TodoItemNode,
TodoListNode, TodoListNode,
// Marks
BoldMark, BoldMark,
CodeMark, CodeMark,
ItalicMark, ItalicMark,
LinkMark, LinkMark,
Strike,
// General Extensions
HistoryExtension, HistoryExtension,
PlaceholderExtension,
} from 'tiptap-extensions' } from 'tiptap-extensions'
export default { export default {
@@ -138,7 +146,9 @@ export default {
new CodeMark(), new CodeMark(),
new ItalicMark(), new ItalicMark(),
new LinkMark(), new LinkMark(),
new StrikeMark(),
new HistoryExtension(), new HistoryExtension(),
new PlaceholderExtension(),
], ],
} }
}, },