editorDidMount (editor) {
// Register a new language
editor.languages.register({ id: 'GCodeLanguage' })
var e = this.$refs.editor.getEditor()
console.log(e)
...............................................
...............................................
in the console I get undefinedthis.$refs.editor ==> also does not give access to the instance
I need to use functions like getPosition(), setPosition() but i can't access the editor instance, only to the model
in the console I get undefined this.$refs.editor ==> also does not give access to the instance I need to use functions like getPosition(), setPosition() but i can't access the editor instance, only to the model