Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header elements aren't aligned with the toolbar actions #2536

Closed
andyjessop opened this issue Nov 13, 2023 · 1 comment · Fixed by #2748
Closed

Header elements aren't aligned with the toolbar actions #2536

andyjessop opened this issue Nov 13, 2023 · 1 comment · Fixed by #2748
Labels

Comments

@andyjessop
Copy link

Screenshot 2023-11-13 at 22 07 13

When the header is larger than level 4, the alignment is off.

Expected behavior:
I would expect the toolbar to line-up with the centre of the header.

Editor.js version: ^2.28.2

Plugins you use with their versions: Heading and Paragraph

@andyjessop andyjessop added the bug label Nov 13, 2023
@BasicallyPolaris
Copy link

Has anyone found a solution to this issue? I am unsure how to fix it as the styling for the positioning of the menu is applied inline, thus I assume editorjs itself manages the positioning of the menu depending on the row you are on (maybe by getting the wrapping div height and then adding a fixed offset ?)

Would love to know if anyone managed to fix it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants