mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-10 18:23:21 +08:00
fix(menus): Adopt new pasteandmatchstyle
menu role
This commit is contained in:
parent
c9244d5163
commit
0aeebbf380
1 changed files with 1 additions and 3 deletions
|
@ -409,9 +409,7 @@ class Contenteditable extends React.Component
|
|||
menu.append(new MenuItem({ label: 'Cut', role: 'cut'}))
|
||||
menu.append(new MenuItem({ label: 'Copy', role: 'copy'}))
|
||||
menu.append(new MenuItem({ label: 'Paste', role: 'paste'}))
|
||||
menu.append(new MenuItem({ label: 'Paste and Match Style', click: =>
|
||||
NylasEnv.getCurrentWindow().webContents.pasteAndMatchStyle()
|
||||
}))
|
||||
menu.append(new MenuItem({ label: 'Paste and Match Style', role: 'pasteandmatchstyle'}))
|
||||
menu.popup(remote.getCurrentWindow())
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue