Expected
Deleting all text from the visual view using the backspace key deletes all text and formatting from the HTML view.
Observed
Deleting all text from the visual view using the backspace key leaves empty tags of the inline style(s) applied to the last deleted text.
Reproduced
- Enter "none bold none italic none strike" into the demonstration app.
- Select "bold" text.
- Tap Bold format button.
- Select "italic" text.
- Tap Italic format button.
- Select "strike" text.
- Tap Strike format button.
- Place cursor at end of text.
- Tap Backspace key until text is gone.
- Tap HTML format button.
- Notice
<b></b> tags remain.
Tested
Google Pixel on Android 7.1.2 with AztecDemo 1.0