MarkMindCkm / obsidian-enhancing-mindmap

obsidian plugin editable mindmap,you can edit mindmap on markdown file
MIT License
596 stars 51 forks source link

无法渲染脑图 #128

Open xu3927 opened 1 year ago

xu3927 commented 1 year ago

今天重新安装插件后出现了无法渲染脑图的问题. 重启 Obsidian, 重装插件都无法解决.

文件内容如下, markdown 格式可以展示

image

切换到脑图后, 显示的空白

image

控制台看起来是有报错.

Obsidian 信息如下 SYSTEM INFO: Obsidian version: v1.3.7 Installer version: v1.1.15 Operating system: Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000 22.4.0 Login status: logged in Catalyst license: none Insider build toggle: off Live preview: off Legacy editor: off Base theme: light Community theme: none Snippets enabled: 0 Restricted mode: off Plugins installed: 11 Plugins enabled: 6 1: Diagrams v1.5.0 2: Ozan's Image in Editor Plugin v2.2.2 3: Calendar v1.5.10 4: Obsidian Git v2.20.7 5: Commander v0.5.0 6: Enhancing Mindmap v0.2.5

RECOMMENDATIONS: Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

xu3927 commented 1 year ago

应该是这里取值的问题. this.fileCache.frontmatterPosition; -> this.fileCache.frontmatter

image
MarkMindCkm commented 1 year ago

这个是为了1.4.0 以上的 obsidian 做的更改,如果你使用的是 ob 1.4.0 以下版本,请使用 v0.2.4 版本