今天凌晨连发两版。
v0.13.25
新特性
- 现在在实时预览模式中点击链接可以直接打开链接
- 换句话说,之前的
Ctrl/Cmd+点击打开链接已经被单纯的点击所替代。 - 之前的
Ctrl/Cmd+Shift+点击在新面板中打开链接,现在被Ctrl/Cmd+点击替代。也就是说,现在 Obsidian 中所有地方的链接,Ctrl/Cmd+点击都会在新面板中打开。
- 换句话说,之前的
- 通过块嵌入列表时,会显示列表的子项目,而不只显示当前项目。
改进
- 在笔记中嵌入尚未创建的文件后,未来该文件创建时,嵌入位置会自动渲染。这解决了因图片同步速度较慢而无法在笔记中显示的问题。
- 字数统计能正确的统计
' - 将命令
Swap line up/down更名为Move line up/down。(但似乎不影响在中文语言下使用。) - 发布服务现在可以隐藏页面标题。
- 在帮助库中增加提醒,以提示用户不要在帮助库内记录内容。
- 现在通过
file:///链接打开文件时,会有确认弹窗。
Bug 修复
- 修复了新编辑器中与输入法相关的几个问题。
- 修复了将代码块语言类型标记为 markdown 后会导致实时预览出错的问题。
- 修复了 mermaid 图表大小不正常的问题。
- 修复了命令面板的性能问题。
- 修复了导出的 PDF 不会展开嵌入的笔记,而只导出一个滚动条的问题。
- 修复了
file:///链接无法正常使用的问题。 - 修复了 MacOS 中某些环境下
^无法正常工作的问题。 - 修复了按下
Shift+End两次后仍无法跳转到段落末尾的问题。
开发者相关
- Theme developers: our new editor has received an upgrade where previous
​characters, used as placeholders for computing cursor positions, have been switched to 0-width<img>elements. We recommend double-checking that your theme does not contain globalimg { ... }CSS rules to avoid breaking the editor. -
TFile.unsafeCachedDatahas been removed and is now stored in a private inaccessibleWeakMapto avoid accidental use of this unsafe data. - There is now a new
requestUrlAPI function that returns an object with the http responsestatus,headers, as well as getters forarrayBuffer,json, andtext. This is a more advanced version of therequestAPI. (Requires API version 0.13.25) - The
requestand the newrequestUrlfunctions can now accept a body of type ArrayBuffer.
