Save 36% for Black Friday! Learn more

Tony Drake

Tony Drake

Joined

2,110 Experience
21 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
...
})