Skip to content

当光标移动到图表等块上时统一显示编辑和菜单按钮,取消其点击事件 #4742

Closed
@UltramarineSky

Description

@UltramarineSky

在什么情况下你需要该特性? In what scenarios do you need this feature?

目前思源里对于图表块、html块的编辑代码功能操作逻辑不统一

  • Mermaid、五线谱、Graphviz、FlowChart、PlantUML等图表都是点击直接弹出代码编辑窗口
  • Echarts、mindmap、html块则是需要到块标菜单里选择后才能编辑

这两种编辑操作逻辑不统一,在块菜单里选择编辑按钮步骤有些繁琐。

描述可能的最优解决方案 Describe the optimal solution

sql查询嵌入块的编辑按钮一样,在图表块右上角添加编辑按钮进行代码编辑

描述候选的解决方案 Describe the candidate solution

其他信息 Other information

Activity

Vanessa219

Vanessa219 commented on Apr 30, 2022

@Vanessa219
Member

图标、脑图、html 的界面会有点击事件,因此目前不能和其他图标进行统一的操作。

如果都添加按钮的话,可以对 html、脑图、流程图、时序图、甘特图、类图、用户游历图、Git 图、实体关系图、图表、五线谱、Graphviz、Flowchart、PlantUML 进行统一处理。

changed the title [-]图表块和html块添加编辑按钮[/-] [+]当光标移动到图表等块上时统一显示编辑和菜单按钮,取消其点击事件[/+] on Apr 30, 2022
self-assigned this
on Apr 30, 2022
added this to the backlog milestone on Apr 30, 2022
added a commit that references this issue on May 2, 2022
added a commit that references this issue on May 2, 2022
modified the milestones: backlog, 2.0.4 on May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@Vanessa219@UltramarineSky

      Issue actions

        当光标移动到图表等块上时统一显示编辑和菜单按钮,取消其点击事件 · Issue #4742 · siyuan-note/siyuan