codex-team / codex-team/editor.js
💡 Toolbar position should be relative to block
Open
- Dominant language
- TypeScript
- Stars
- 31.9k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Problem:
I'm using `editorjs` with/for different layouts. In certain scenarios I have blocks side by side, grid, scrollable horizontal etc... When there are two blocks side by side, it's hard to get to the toolbar for the block you want as the focus changes the moment hover over the other block. I can get around it by not entering the block modal but I can't ask users to do that. Red bordered block is focused:

Proposed solution:
The toolbar container position should be relative to the block offset rather than the `editorjs` cotainer (`codex-editor`).

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.