Skip to content

Conversation

@examan
Copy link

@examan examan commented Oct 26, 2024

fix #261

@daun
Copy link

daun commented Jul 8, 2025

This is nice! @examan Have you found a way of getting the same result by using one of the built-in callbacks? I currently need this in a project, but would like to avoid using a fork if possible.

@examan
Copy link
Author

examan commented Jul 15, 2025

Unfortunately, morphdom’s built-in callbacks don’t support text node interception. I’ve found that both morphlex and Idiomorph expose a beforeNodeMorphed hook, which works well for this use case.

This is nice! @examan Have you found a way of getting the same result by using one of the built-in callbacks? I currently need this in a project, but would like to avoid using a fork if possible.

@daun
Copy link

daun commented Jul 15, 2025

Good to know, I've been considering a switch to idiomorph for a while. Might as well :)

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.

Text selection loss during incremental AI updates

2 participants