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

feat: Add refresh-tiptap-editors event handler #135

Merged
merged 2 commits into from
Jul 9, 2023

Conversation

pboivin
Copy link
Contributor

@pboivin pboivin commented Jul 8, 2023

This PR follows #129

It introduces an event handler for refresh-tiptap-editors, to the same effect as update-editor-content. The new event allows each editor instance to refresh its UI from its entangled state property (the data is entangled but the Tiptap UI is not refreshed automatically). This simplifies the use-case of dynamically updating deeply nested editors (e.g. inside Builder blocks).

@awcodes awcodes merged commit 1312754 into awcodes:2.x Jul 9, 2023
1 check passed
@pboivin pboivin deleted the feat/refresh-tiptap-editors branch July 9, 2023 13:16
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

Successfully merging this pull request may close these issues.

None yet

2 participants