Make-md / makemd

http://www.make.md
MIT License
1.11k stars 40 forks source link

Issue: context menu overrides Obsidian's native menu options #317

Open cynddl opened 6 months ago

cynddl commented 6 months ago

Setting Obsidian's “native menus” option to true changes all the context menus to native on macOS, except when using MAKE.md. Using the plugin, the sidebar context menu reverts to the non-native menu.

I see two places in the code where this may come from: https://github.com/Make-md/makemd/blob/f65e1b0ffbd3b33c22c0b88d4e831ada886e3c04/src/adapters/obsidian/ui/menu.tsx#L11 and https://github.com/Make-md/makemd/blob/f65e1b0ffbd3b33c22c0b88d4e831ada886e3c04/src/adapters/obsidian/ui/selectMenu.tsx#L42 although I am not proficient with coding Obsidian's plugins. Please let me know if there's anything I could test to help reproduce the issue?

jp-cen commented 6 months ago

This is on the list of to-dos, I'll follow up once this has been fixed