Skip to content

Commit

Permalink
Add wordWrap
Browse files Browse the repository at this point in the history
  • Loading branch information
RMartinOscar committed Feb 11, 2025
1 parent f510356 commit ba39471
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@
fontSize: monacoFontSize,
lineNumbersMinChars: lineNumbersMinChars,
automaticLayout: automaticLayout,
language: monacoLanguage
language: monacoLanguage,
wordWrap: 'on',
wrappingIndent: 'indent'
});
monacoEditor(document.getElementById(monacoId).editor);
document.getElementById(monacoId).addEventListener('monaco-editor-focused', (event) => {
Expand Down

0 comments on commit ba39471

Please sign in to comment.