DTStack / DTStack/molecule

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

Open
#876 5 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
TypeScript
Stars
970
Forks
141
PR merge metrics
No merged PRs in 30d

Description

### Question

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

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

> 打印 `molecule.builtin.getModules()` 结果

![图片](https://github.com/DTStack/molecule/assets/85431995/0139a6d3-8e4c-46bf-8b22-ed1d94436889)

> 官网示例

![图片](https://github.com/DTStack/molecule/assets/85431995/be73d56a-5953-477c-a8ce-5c0f55f5ab8e)

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.