-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
(React) Content of nested NodeViews will not render until focus #1747
Comments
Some additional details here, including how I worked around the issue in certain cases, but I've run into a case where the workaround won't suit: |
I can confirm this issue. It seems to be fixed with this PR. But since that would be a breaking change, I'll have to take another look. |
It’s fixed in the latest version of |
I've noticed this in the latest v2 are you aware? I have a custom node set to inline which is rendering one of it's attributes as content, when i update the attribute the node does not update until i click it. If instead I set the custom node to block it updates with or without focus. Further testing i removed the NodeView and this happens with just the standard renderHTML method. |
Description
When nesting NodeViews, the content of the deeper node view will not render until the editor gains focus.
Steps to reproduce the bug
Steps to reproduce the behavior:
CodeSandbox
I created a CodeSandbox to help you debug the issue:
Expected behavior
The text content should be visible on load.
Environment?
The text was updated successfully, but these errors were encountered: