We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
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
单击 Web 端内形如 siyuan://blocks/20200812220555-lj3enxa 块超链接会直接使用浏览器打开该链接, 浏览器将会使用 URL scheme 打开桌面应用(一般如下图所示), 因此在 Web 端完全无法使用超链接跳转块
siyuan://blocks/20200812220555-lj3enxa
首先从 Web 端中查询是否命中一个块, 如果命中则在页面内直接跳转, 如果没有命中再使用 URL scheme 唤起桌面端
The text was updated successfully, but these errors were encountered:
这个不太确定是否能够拦截 URL 打开的请求,有空的话麻烦帮忙调研看看。
Sorry, something went wrong.
@88250 覆写 <a> 标签的 onclick 方法应该可以?
<a>
DOM 最好不要改变,否则可能会引入其他问题。
即使能实现,但是如果要跳转 siyuan:// 的话又得改变交互,所以暂时不考虑了。
siyuan://
No branches or pull requests
描述问题 Describe the problem
单击 Web 端内形如
siyuan://blocks/20200812220555-lj3enxa
块超链接会直接使用浏览器打开该链接, 浏览器将会使用 URL scheme 打开桌面应用(一般如下图所示), 因此在 Web 端完全无法使用超链接跳转块期待的结果 Expected result
首先从 Web 端中查询是否命中一个块, 如果命中则在页面内直接跳转, 如果没有命中再使用 URL scheme 唤起桌面端
版本环境 Version environment
The text was updated successfully, but these errors were encountered: