AztecEditor-Android
AztecEditor-Android copied to clipboard
Style extended when adding a space on API 26+
Reproduced
In the demo text after "Italic":
- Add a new line and type "a"
- Toggle bold style
- Type "b"
- Place cursor between "a" and "b"
- Add a space
- Note that the bold formatting is extended to "a"
Tested
Emulator on API 26
Also reported in gb-mobile here: https://github.com/wordpress-mobile/gutenberg-mobile/issues/824
(Make sure to have the Gboard keyboard in use)
- Start with two words text like "two words".
- Place the caret between the space and the "w".
- Tap on "B" to turn on bold.
- Type a few chars and press "space".