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

When is the froala editor fully loaded #500

Open
KFreiburghaus opened this issue May 30, 2022 · 0 comments
Open

When is the froala editor fully loaded #500

KFreiburghaus opened this issue May 30, 2022 · 0 comments

Comments

@KFreiburghaus
Copy link

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?

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

No branches or pull requests

1 participant