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

Make sure selection mark tags are always cleaned up #97

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

ellell
Copy link
Contributor

@ellell ellell commented May 9, 2017

Make sure selection mark tags are not left in dom. With the performance updates we've done lately, selection mark tags have unintentionally been left in the dom between updates even though that's not needed. They are only needed when parsing html to article json and after patching dom in afterRender.

Also had to update the html equality check in afterRender to strip those tags out of the newly created article html.

@ellell ellell requested a review from ryanscottaudio May 9, 2017 07:33
@ellell ellell changed the title remove selection tags immediately after parsing html to articleJson Make sure selection mark tags are always cleaned up May 10, 2017
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.

2 participants