docs: update demo

This commit is contained in:
Philipp Kühn 2021-04-16 12:57:11 +02:00
parent 99d309030b
commit d5a36628d6

View File

@ -17,7 +17,6 @@
<script>
import { NodeViewWrapper, NodeViewContent, nodeViewProps } from '@tiptap/vue-2'
import lowlight from 'lowlight/lib/core'
export default {
components: {
@ -29,7 +28,7 @@ export default {
data() {
return {
languages: lowlight.listLanguages(),
languages: this.extension.options.lowlight.listLanguages(),
}
},