wrong jodit-workplace height when toolbar is set to an HTMLElement #920
|
as indicated in the title, when the toolbar is set to an element, the height dimension of the workplace indicated in the style is wrong - in essence it is reduced by the height of the toolbar anyway... how could I get around this, without changing the source code ? |
Replies: 2 comments
|
When the toolbar is mounted into a separate element, the If that doesn't hold for your layout, tell me how you're mounting the toolbar and I'll take a closer look — it may be worth a fix. |
|
Fixed properly in 4.12.32. The size logic was subtracting the toolbar's height from the workplace even when the toolbar is rendered into an external element — so it shrank the area by a toolbar that wasn't actually inside the container. Now the toolbar height is only subtracted when the toolbar really lives inside the container, so the height you set is respected. Upgrade and you can drop the CSS workaround. |
Fixed properly in 4.12.32. The size logic was subtracting the toolbar's height from the workplace even when the toolbar is rendered into an external element — so it shrank the area by a toolbar that wasn't actually inside the container. Now the toolbar height is only subtracted when the toolbar really lives inside the container, so the height you set is respected. Upgrade and you can drop the CSS workaround.