Fix context-menu #1671

Merged
btzr-io merged 5 commits from fix-paste into master 2018-07-03 06:38:28 +02:00
Showing only changes of commit b92597b74e - Show all commits

View file

@ -62,6 +62,7 @@ export function openContextMenu(event, templates = [], canEdit = false, selectio
remote.Menu.buildFromTemplate(templates).popup();
}
// This function is used for the markdown description on the publish page
export function openEditorMenu(event, codeMirror) {
const value = codeMirror.doc.getValue();
const selection = codeMirror.doc.getSelection();