zulip: Fix clicking on links where text is a code block
Apparently, if you do this syntax, e.g.:
Opened [
Update TypeScript infrastructure and migrate dict.js](#11513) for review.
We generate a link formatted as a code block, which is nice, but clicking the link just opens compose, probably due to a click handler ordering/precedence issue. See for example:
https://chat.zulip.org/#narrow/stream/65-checkins/topic/Tommy.20Ip/near/697676
This may be a bit tricky to fix, since debugging this sort of click handler ordering issue can be challenging.
About this issue
- Original URL
- State: open
- Created 5 years ago
- Comments: 17 (16 by maintainers)
The issue is not specific to links with text as code blocks, it is purely related to the linkifier. Even with simple text, syntax like:
points to
http://localhost:9991/#12345
[edit] The compose box opens maybe because the click propagates to the code block, simply clicking the link doesn’t open the compose box.