You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: