Typing formatted text fixes #243

Merged
merged 6 commits into from Jun 16, 2016

Projects

None yet

1 participant

@javan
Member
javan commented May 20, 2016 edited

contenteditable naturally types over <br>s at the end of a block element, and we need to account for their removal now that we’re correctly summarizing <br> mutations (1497f52). Discovered by @zachwaugh.

Before:
lost-formatting

After:
lost-formatting-after


Also accounts for mutations that occur on systems (like iOS) that perform auto-capitalization as you type.

Before:
capitalize-before

After:
capitalize-after

@javan javan changed the title from Fix typing formatted text after a newline at the end of a block to Typing formatted text fixes Jun 16, 2016
@javan javan merged commit 65cdb0b into master Jun 16, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@javan javan deleted the expect-extra-br-mutation branch Jun 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment