Expected
Text remains inside block format when toggling HTML view.
Observed
Text is moved outside block format when toggling HTML view. This produces unformatted text above an empty list (for ordered list and unordered list) or removes the block format completed (for quote). See the screenshots below for examples.

Reproduced
- Tap HTML format button.
- Enter
<p>hello</p>.
- Tap HTML format button.
- Tap block format button (i.e. Ordered List, Unordered List, or Quote).
- Notice
hello is inside block format.
- Tap HTML format button.
- Notice
hello is outside block format.
a. If ordered list, empty list is below hello.
b. If unordered list, empty list is below hello.
c. If quote, format is removed completely.
Tested
Google Pixel on Android 7.1.1 with AztecDemo 1.0