add comment
This commit is contained in:
parent
767f6642dd
commit
b92597b74e
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ export function openContextMenu(event, templates = [], canEdit = false, selectio
|
||||||
remote.Menu.buildFromTemplate(templates).popup();
|
remote.Menu.buildFromTemplate(templates).popup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This function is used for the markdown description on the publish page
|
||||||
export function openEditorMenu(event, codeMirror) {
|
export function openEditorMenu(event, codeMirror) {
|
||||||
const value = codeMirror.doc.getValue();
|
const value = codeMirror.doc.getValue();
|
||||||
const selection = codeMirror.doc.getSelection();
|
const selection = codeMirror.doc.getSelection();
|
||||||
|
|
Loading…
Reference in a new issue