codex-team / codex-team/editor.js

💡Add groupings of tools in toolbox with headings

Open
#2,133 3 comments 5 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

1. Describe a problem.

We use many tools and embed options in our rich text editor and have recently been wanting to provide more organization in the toolbox by adding groupings of tools with a give header. Shown here with a section of "Basic Blocks"

![Screen Shot 2022-09-02 at 1 27 51 PM](https://user-images.githubusercontent.com/41494387/188207582-1d507d1a-fa4c-4456-812c-e6a4e502c448.png)

2. Describe the solution you'd like. Mockups are welcome.

Would like to pass in configuration that indicates groupings of tools with a named heading. Similar to how it is done in Notion shown below

![Screen Shot 2022-09-02 at 1 28 15 PM](https://user-images.githubusercontent.com/41494387/188206976-66734894-5bbc-4073-a85a-7359c70f52b2.png)

3. Are there any alternatives?
Currently a rough implementation can be done using CSS selectors and pseudo elements to solve this

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.