Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to remove default export options #165

Open
Ellpeck opened this issue Feb 27, 2024 · 3 comments
Open

Unable to remove default export options #165

Ellpeck opened this issue Feb 27, 2024 · 3 comments

Comments

@Ellpeck
Copy link

Ellpeck commented Feb 27, 2024

Hi, thanks so much for this plugin, it's really awesome to use ❤️

However, due to the fact that I dislike clutter, and having commands I don't use, I tried to remove the default export commands/types that the plugin gives you using the trash can button in the settings menu, and replace them with a few of my own. Unfortunately, restarting Obsidian causes all of the default commands to reappear.

Is this a bug or intended behavior? I think it would be nice if adding back the default options was possible, but only if the user invoked it manually.

@mokeyish
Copy link
Owner

yes, it's a intended behavior.

if default export commands are missing, the plugin will add it back here.

for (const item of DEFAULT_SETTINGS.items) {

@Ellpeck
Copy link
Author

Ellpeck commented Feb 28, 2024

Hi, thanks for your quick reply :)

Do you think it would be possible to add an option to disable this behavior? I'd really like to be able to only have the options I need and/or defined myself.

@mokeyish
Copy link
Owner

Yes, you can submit a PR to modify it if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants