mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-15 23:55:50 +00:00
upgrade to electron v1.1.1
This commit is contained in:
@@ -445,7 +445,7 @@ function _setEditorContent(content, isMarkdown, preview, callback) {
|
||||
|
||||
// 复制图片
|
||||
// 在web端得到图片
|
||||
var clipboard = require('clipboard');
|
||||
const {clipboard} = require('electron');
|
||||
function pasteImage(e) {
|
||||
var image = clipboard.readImage();
|
||||
if(image) {
|
||||
|
Reference in New Issue
Block a user