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

Make the option to disable line numbers in editor affect snippet notes too

This commit is contained in:
David Pavlík
2017-12-23 22:52:50 +01:00
parent 1f5f6c3b0e
commit 85065357e2

View File

@@ -530,7 +530,7 @@ class SnippetNoteDetail extends React.Component {
fontSize={editorFontSize}
indentType={config.editor.indentType}
indentSize={editorIndentSize}
displayLineNumbers
displayLineNumbers={config.editor.displayLineNumbers}
keyMap={config.editor.keyMap}
onChange={(e) => this.handleCodeChange(index)(e)}
ref={'code-' + index}