add comment

This commit is contained in:
Sean Yesmunt 2018-07-03 00:37:48 -04:00
parent 767f6642dd
commit b92597b74e

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();