mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-15 10:46:32 +00:00
Removed Paste / Cut options from preview context menu as they are not relevant in preview mode
This commit is contained in:
committed by
Junyoung Choi
parent
caf1f92fef
commit
f88fc23e58
@@ -81,11 +81,7 @@ const buildMarkdownPreviewContextMenu = function (markdownPreview, event) {
|
|||||||
|
|
||||||
// Default context menu inclusions
|
// Default context menu inclusions
|
||||||
const template = [{
|
const template = [{
|
||||||
role: 'cut'
|
|
||||||
}, {
|
|
||||||
role: 'copy'
|
role: 'copy'
|
||||||
}, {
|
|
||||||
role: 'paste'
|
|
||||||
}, {
|
}, {
|
||||||
role: 'selectall'
|
role: 'selectall'
|
||||||
}]
|
}]
|
||||||
|
|||||||
Reference in New Issue
Block a user