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
Context Menu Fails to Appear for Specific Reference Type #5142
Comments
Thanks so much for opening up your first issue here on the repository! 🎉
EnhancementsAn enhancement takes a feature and improves or alters its behaviour. Please Feature requestsFeature requests introduce whole new features into the app. This requires a You can of course always ask someone to implement this feature, because a PR Bug reportsPlease note that one of the main reasons for why bug reports cannot be The ideal bug report for us has two qualities:
Please note that if you encounter behaviour that does not align with your But now, have a great day and thank you again! |
Description
An identified bug within the getURLForNode function in the linkImageMenu module is currently preventing the context menu from displaying for specific reference types, such as [Text 1][link1]. This issue arises due to the function's inability to locate a URL child, which results in an error and subsequently blocks the menu's appearance. Furthermore, despite the absence of the context menu, the "remove link" option remains visible for the reference [link1]: https://example.com/. A screenshot below.
Reproducing
Right click the links in the screenshot.
Zettlr Version
Right off the develop branch
Specify version
No response
Installation Method
None
Your Platform
Architecture
Operating System Version
Monterey 21
Additional Information
No response
The text was updated successfully, but these errors were encountered: