Skip to content

What's the difference between the 'before-initialize' and 'initialize' events? #192

Discussion options

You must be logged in to vote

@joelzwarrington in theory "rhino-before-initialize" is meant to happen before the editor initializes, I could see a scenario where the hidden input may get overriden too quickly and have a wrong value?

but I've been using "rhino-initialize" and haven't encountered an issue yet so it should be fine, these timing issues are hard. I may even delay the writing to the text input until users have had a full event loop or 2 to be able to attach their extensions before TipTap throws away invalid nodes.

TLDR: should be fine

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KonnorRogers
Comment options

Answer selected by joelzwarrington
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants