update readme

This commit is contained in:
Philipp Kühn
2018-08-26 19:44:14 +02:00
parent 4b805a0892
commit e3bcb2c7df

View File

@@ -326,7 +326,7 @@ This is a basic example of building a custom menu. A more advanced menu can be f
<script> <script>
import { Editor } from 'tiptap' import { Editor } from 'tiptap'
import { Heading, Bold } from 'tiptap-extensions' import { HeadingNode, BoldMark } from 'tiptap-extensions'
export default { export default {
components: { components: {
@@ -335,8 +335,8 @@ export default {
data() { data() {
return { return {
extensions: [ extensions: [
new Heading({ maxLevel: 3 }), new HeadingNode({ maxLevel: 3 }),
new Bold(), new BoldMark(),
], ],
} }
}, },