We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e5ddb9 commit 1a8099aCopy full SHA for 1a8099a
app/javascript/controllers/codemirror_controller.js
@@ -29,7 +29,8 @@ export default class extends Controller {
29
this.codeMirror = CodeMirror.fromTextArea(this.mirrorTarget, {
30
theme: 'one-light',
31
mode: "javascript",
32
- readOnly: this.readOnlyValue ? 'nocursor' : false
+ readOnly: this.readOnlyValue ? 'nocursor' : false,
33
+ lineWrapping: true
34
});
35
36
this.initializedValue = true
0 commit comments