Closed chrisgurney closed 21 hours ago
I believe what will work is to conditionally use span
only if the current platform is Android, and use an anchor otherwise. I'm not 100% certain if this will fix the problem, as there's a click handler that takes action on the link depending on what type it is.
In any event, this will take some testing to make sure I don't introduce any major regressions.
I tried changing links back to anchors temporarily, and it's not working as I thought it might.
Instead it looks like I have to capture the keys that are pressed at click time and take action per Obsidian's docs. Hopefully I can figure out another approach that's easier to maintain.
@CptMonac This should now be fixed in v1.8.2
per how modifier keys should affect links when clicked, per Obsidian's docs.
I've tested on macOS but don't have access to Windows. Please give it a test and let me know if it works for you. Thanks!
Discussed in https://github.com/chrisgurney/obsidian-note-toolbar/discussions/81
Originally posted by CptMonac June 6, 2024