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

Expose parentNode to custom nodes #4061

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RedPhoenixQ
Copy link
Contributor

Exposing parentNode to custom nodes so that they can react to the parentNode changing.

This implementation is only done for Svelte as I haven' t used and don't fully understand were and how to add it. The NodeProps type in system was changed which may affect the react types. I could try to make the changes I think would needed.

@moklick
Copy link
Member

moklick commented Mar 25, 2024

Thanks, I think it's a good idea :) We will check it.

@moklick
Copy link
Member

moklick commented Apr 3, 2024

Thanks for your input! We will rename parentNode to parentId and expose it.

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

3 participants