内置思维导图改为markmap - #16439
Open
Achuan-2 wants to merge 9 commits into
Open
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
- 实现编辑内容动态更新,只重新渲染编辑节点 - 导出图片按钮实现导出svg - 添加重置视图按钮
Member
Author
|
Member
Author
|
其实目前mindmap、mermaid块都是思源的自定义块,想要导出分享的时候并不方便,看有没有人做markmap、mermaid嵌入式插件,或者官方做,斜杆菜单可以选择创建这些块是块的形式还是图片格式(或者加一个全局设置,只能选一个方式),块源码格式更多是为了导出markdown代码用,其实其他导出场景大概率用不到 而图片格式实现逻辑很简单,创建svg/png图片,把文字内容放在png元数据块里,这样图片就能支持再编辑了,导出分享会比较方便,不然还是主要只能在思源笔记里用,这个功能做出来之后也算是思源笔记的功能亮点之一。如果官方搞的话,导出Markdown的时候就可以选择导出嵌入式图片还是源码,这样各种需求都能满足 |
Member
|
这个有什么进展吗,原生的 mindmap 确实没有那么好用 |
Member
Author
这个看官方,官方之前一直没有说要采纳 |
Member
Author
|
如果思维导图后面要改的话,建议直接把编辑器改为使用protyle lite方便用户阅读和编辑 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

关联:#16438
markmap相比echarts tree的优势
pr实现