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

diff patch only the content of a div #11

Closed
geyang opened this issue Oct 26, 2014 · 2 comments
Closed

diff patch only the content of a div #11

geyang opened this issue Oct 26, 2014 · 2 comments

Comments

@geyang
Copy link

geyang commented Oct 26, 2014

Hi @fiduswriter,

Thanks for this wonderful library! Is it possible to only diff the content of an element, instead of diff the element itself?

Thanks :)

@geyang
Copy link
Author

geyang commented Oct 26, 2014

I ended up make a shadow dom and just replicated the old dom off to a new div. But this option would still be convenient.

@johanneswilm
Copy link
Member

I would suggest you just filter out any changes on the top node. I don't see this being relevant enough as a feature.

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

No branches or pull requests

2 participants