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