Buggy autocorrect after blockquotes and lists
When exiting a blockquote, typing, and backspacing after space, autocorrect ignores the first letter and groups the rest as one word, causing buggy replacements and sometimes text jumping lines when continuing to backspace.

The same also happens after lists.
I was only able to reproduce this on an API23 device, an API22 emulator and an Android N preview device. Unable to reproduce on API19 and API21 emulators.
Findings so far:
- The bug only happens when using double enter to exit the blockquote or list; the bug doesn't occur when the format bar button is pressed on a newline to exit the blockquote or list
- The cause is probably our use of
Event.preventDefault(). I think this somehow interferes with autocorrect events somewhere down the event stack. - A possible workaround is to insert a zero-width space character after calling
setBlockquote(); this fixes the autocorrect bug, but the zw character is actually present in the markup and causes some other bugs (the zero-width character consumes a backspace event, so that deleting past it appears buggy to the user - there are probably other issues as well)
God I really hate this bug, guys. Sorry; I'm just one of those people who meticulously rewrites stuff all of the time and all over the place. So the backspace key is like my bestest friend. But this app, it changes backspace into a lunatic - and makes me look like one too if I'm not being careful.
I can't even rewrite the beginning of a paragraph. "Aaah why is this happening??"
So I really hope that someone can step in and fix it - typing on a phone (I think it's called 'thumbing') is already bad enough on its own merits.