We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How preserve attribute values missed from new content? For example:
let details1 = make('<details open><summary>Details1</summary>Something</details>') let details2 = make('<details><summary>Details2</summary>Something</details>') Idiomorph.morph(details1, details2); should.equal(null, details2.getAttribute("open")); details1.getAttribute("open").should.equal("");
I want that details1 have openattribute and the content of details2
details1
open
details2
The text was updated successfully, but these errors were encountered:
Did you try with options { morphStyle: 'innerHTML' }?
{ morphStyle: 'innerHTML' }
Sorry, something went wrong.
No branches or pull requests
How preserve attribute values missed from new content?
For example:
I want that
details1
haveopen
attribute and the content ofdetails2
The text was updated successfully, but these errors were encountered: