I need an event that tells me when exactly the froala-editor is loaded completely. I need this event for scrolling on a page, with multiple froala-editor. If I start the scrolling before the froala-editor is fully loaded, the desired scrolling points aren't selected correctly, because the froala-editor has not yet reached the predefined height of 405 (located via the developer tools). The variable clientHeight has after the event initialized the value of 0 and thus messes up the scrolling, because in the end it still has the height of 405. So this event is already useless. How can I achieve that the scrolling also works with froala-editors?
I need an event that tells me when exactly the froala-editor is loaded completely. I need this event for scrolling on a page, with multiple froala-editor. If I start the scrolling before the froala-editor is fully loaded, the desired scrolling points aren't selected correctly, because the froala-editor has not yet reached the predefined height of
405
(located via the developer tools). The variableclientHeight
has after the eventinitialized
the value of0
and thus messes up the scrolling, because in the end it still has the height of405
. So this event is already useless. How can I achieve that the scrolling also works with froala-editors?