1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Make line numbers in the editor optional

This commit is contained in:
David Pavlík
2017-09-20 22:33:51 +02:00
parent 0d34a03fe0
commit 7a4258bb20
5 changed files with 22 additions and 1 deletions

View File

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