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

Can have setting to remove forbid character in original filename keeping? #93

Open
Steven8Tang opened this issue May 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Steven8Tang
Copy link

Steven8Tang commented May 30, 2024

Thank you very much for this plugin developing.
This is a very useful plugin in confirming to keep original filename or rename the attachments before save.

But I have facing a problem in this scenario.

Is your feature request related to a problem? Please describe.
When I want to keep the original attachment name, but the attachment contain some forbidden character, such as "#" , "/", etc.
It will keep saving the attachments as original attachment name, but the link will not valid, keep those forbidden characters in links, become broken

Describe the solution you'd like
Hope it have a function, auto or another button which can remove those forbidden characters or replace it (I use Chinese symbols instead) before save and generate the link to this attachment.

Describe alternatives you've considered
Or, Can have a way to copy the original attachment name into the name edit box for user to edit the name by manually.

Additional context
Copy the original filename to edit box is a good choose to simply in script writing, and also sometime really want to have the attachment name other than Note title / preset or original but with some minor modify.
Found that your plugin already ignore those forbidden characters inputed to attachments name. So just adding a copy original name button is easy, I think.

@Steven8Tang Steven8Tang added the enhancement New feature or request label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant