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

Merge pull request #879 from xxdavid/feature-editor-line-lines

Make line numbers in the editor optional
This commit is contained in:
Junyoung Choi (Sai)
2018-02-03 13:57:00 +09:00
committed by GitHub
5 changed files with 21 additions and 1 deletions

View File

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