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

- add option to enable/disable smart paste

- add shortcut to paste smartly
- use electron's clipboard
This commit is contained in:
Baptiste Augrain
2018-11-28 00:44:15 +01:00
parent aac075be06
commit 9050035c74
8 changed files with 163 additions and 67 deletions

View File

@@ -717,6 +717,8 @@ class SnippetNoteDetail extends React.Component {
enableTableEditor={config.editor.enableTableEditor}
onChange={(e) => this.handleCodeChange(index)(e)}
ref={'code-' + index}
enableSmartPaste={config.editor.enableSmartPaste}
hotkey={config.hotkey}
/>
}
</div>