editor.js icon indicating copy to clipboard operation
editor.js copied to clipboard

Header elements aren't aligned with the toolbar actions

Open andyjessop opened this issue 2 years ago • 1 comments

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 avatar Nov 13 '23 21:11 andyjessop

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 :)

BasicallyPolaris avatar Jun 20 '24 10:06 BasicallyPolaris