Save 36% for Black Friday! Learn more

Tony Drake

Joined

1,810 Experience
18 Lessons Completed
0 Questions Solved

Activity

Posted in How to use CodeMirror 6 with Ruby on Rails Discussion

Any reason why you're passing the initial value to set for the editor with Stimulus values instead of something like...

new EditorView({
doc: this.inputTarget.value
...
})