You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-27 23:28:38 +02:00
Desktop: Added support for Menu API for plugins
This commit is contained in:
@ -69,7 +69,7 @@ export default class MenuUtils {
|
||||
return KeymapService.instance();
|
||||
}
|
||||
|
||||
private commandToMenuItem(commandName:string, onClick:Function):MenuItem {
|
||||
public commandToMenuItem(commandName:string, onClick:Function):MenuItem {
|
||||
const command = this.service.commandByName(commandName);
|
||||
|
||||
const item:MenuItem = {
|
||||
|
Reference in New Issue
Block a user