vue-codemirror icon indicating copy to clipboard operation
vue-codemirror copied to clipboard

findModeByExtention is not a function

Open TomerElkayam-vue opened this issue 5 years ago • 0 comments

i'm trying to use the findModeByExtention function from the meta.js import it: import "codemirror/mode/meta.js"

then i'm trying to use the function and it says it's not a function.

how can i access it? i already tried with: this.$refs.cmEditor.cminstance.findModeByExtention() this.findModeByExtention() and findModeByExtention()

none of them work

TomerElkayam-vue avatar Oct 11 '20 11:10 TomerElkayam-vue