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

add "Wrap Line" button

This commit is contained in:
amedora
2019-06-06 15:20:23 +09:00
committed by Junyoung Choi
parent e7615ed6d7
commit 769407b3df

View File

@@ -929,6 +929,12 @@ class SnippetNoteDetail extends React.Component {
size: {config.editor.indentSize} 
<i className='fa fa-caret-down' />
</button>
<button
onClick={(e) => this.handleWrapLineButtonClick(e)}
>
Wrap Line: {config.editor.lineWrapping ? 'on' : 'off'}&nbsp;
<i className='fa fa-caret-down' />
</button>
</div>
<StatusBar