codex-team / codex-team/editor.js

When setting a block to stretched the toolbar is not stretched as well

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

Description

when I have multiple blocks in an editor mode and when I set the stretched property of one of the blocks the toolbar is not stretched as well and appear in the middle of the block. how can I fix it? seems like a bug, also appear in the demo of editor js
thanks in advance

Expected behavior:
when a block stretched property is set to true the toolbar instance will also be stretched.

Screenshots:
![Screenshot 2024-03-17 at 11 06 47](https://github.com/codex-team/editor.js/assets/91833902/452eae7d-16eb-48d1-a5e2-9fbb67e53e2f)

Browser: chrome

Editor.js version: ^2.28.0

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.