Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting All Text Containing Inline Style with Backspace Leaves Empty Tags #362

Closed
theck13 opened this issue Jun 8, 2017 · 1 comment
Closed
Assignees
Labels

Comments

@theck13
Copy link
Contributor

theck13 commented Jun 8, 2017

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

  1. Enter "none bold none italic none strike" into the demonstration app.
  2. Select "bold" text.
  3. Tap Bold format button.
  4. Select "italic" text.
  5. Tap Italic format button.
  6. Select "strike" text.
  7. Tap Strike format button.
  8. Place cursor at end of text.
  9. Tap Backspace key until text is gone.
  10. Tap HTML format button.
  11. Notice <b></b> tags remain.

Tested

Google Pixel on Android 7.1.2 with AztecDemo 1.0

@theck13 theck13 added the bug label Jun 8, 2017
@khaykov khaykov self-assigned this Jul 5, 2017
@khaykov
Copy link
Member

khaykov commented Jul 27, 2017

Fixed in #398

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants