1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

make lineWrapping configurable

This commit is contained in:
amedora
2019-06-06 15:48:36 +09:00
committed by Junyoung Choi
parent 4e30d4b8fb
commit fe508307b2
4 changed files with 18 additions and 1 deletions

View File

@@ -720,6 +720,7 @@ class SnippetNoteDetail extends React.Component {
mode={snippet.mode || (autoDetect ? null : config.editor.snippetDefaultLanguage)}
value={snippet.content}
linesHighlighted={snippet.linesHighlighted}
lineWrapping={config.editor.lineWrapping}
theme={config.editor.theme}
fontFamily={config.editor.fontFamily}
fontSize={editorFontSize}