mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-15 15:41:19 +00:00
选择图片时总是打开安装的目录, 附件, save as
https://github.com/leanote/desktop-app/issues/62
This commit is contained in:
@@ -474,10 +474,12 @@ function pasteImage(e) {
|
||||
}
|
||||
|
||||
// 插入本地图片
|
||||
// tinymce image插件调用
|
||||
function insertLocalImage() {
|
||||
gui.dialog.showOpenDialog(gui.getCurrentWindow(),
|
||||
{
|
||||
properties: ['openFile', 'multiSelections'],
|
||||
defaultPath: gui.app.getPath('userDesktop'),
|
||||
filters: [
|
||||
{ name: 'Images', extensions: ['jpg', 'jpeg', 'png', 'gif', 'bmp'] }
|
||||
]
|
||||
|
Reference in New Issue
Block a user