update readme
This commit is contained in:
10
README.md
10
README.md
@@ -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(),
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user