Use src/native-clipboard in TextEditorComponent

This commit is contained in:
Antonio Scandurra
2015-04-13 14:20:17 +02:00
parent 106f9fdf2e
commit f633a4f771

View File

@@ -556,7 +556,7 @@ class TextEditorComponent
pasteSelectionClipboard = (event) =>
if event?.which is 2 and process.platform is 'linux'
if selection = require('clipboard').readText('selection')
if selection = require('./native-clipboard').readText('selection')
@editor.insertText(selection)
window.addEventListener('mousemove', onMouseMove)