Skip to content

请问 Editor ContextMenu 支持自定义右键菜单吗? #876

@resetsix

Description

@resetsix

Question

我查看了所有的内置数据,没有发现 editor 相关右键菜单的数据。

虽然官网示例的 demo 上有许多 editor 右键菜单选项,但我去翻阅源码里面却没有找到。(源码和官网API也只找到 folderTree 相关的菜单代码ono)

打印 molecule.builtin.getModules() 结果

图片

官网示例

图片

我觉得应该是可以自定义的,可能是我没有找对地方,所以来寻求一下思路。

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions