vdfor/ckeditor5-line-height

wrong image toolbar position

fsavina opened this issue · 2 comments

Hi,
really good plugin but I've found out that when you add the plugin to an editor build as a built-in plugin the image toolbar appears in the wrong position underneath the image

You can see a screenshot here: https://ibb.co/gjZL3c8

This is the plugin installation code:

import LineHeight from 'ckeditor5-line-height';

ClassicEditor.builtinPlugins = [
    (...)
    LineHeight,
];

any idea why?

Doing some tests, I've found out that this is the line causing the problem:
https://github.com/vdfor/ckeditor5-line-height/blob/master/src/lineheightui.js#L5

I had the same issue with the ImageResize plugin.