Skip to content

Toolbar Highlights Block Formats Not Selected #317

@theck13

Description

@theck13

Expected

The toolbar highlights block format(s) in selected text or at cursor position.

Observed

The toolbar highlights block format(s) preceding and succeeding cursor position.

Note

The behavior was as expected prior to the paragraph spans merge. Check the commits below to test expected and observed behavior.

Expected: c9b86df
Observed: f898186

Reproduced

Heading Menu

  1. Launch demonstration app.
  2. Place cursor between H and 2 of Heading 2 text.
  3. Tap Heading format button.
  4. Select...
    a. Expected: Paragraph from menu.
    b. Observed: Heading 2 from menu.
  5. Tap Heading format button.
  6. Select Heading 2 from menu.
  7. Tap Heading format button.
  8. Notice...
    a. Expected: Heading 2 is selected.
    b. Observed: Heading 3 is selected.

Horizontal Row

  1. Launch demonstration app.
  2. Place cursor after horizontal row image.
  3. Tap Backspace key.
  4. Notice Ordered List and Unordered List format buttons are highlighted.

Tested

Google Pixel on Android 7.1.2 with AztecDemo 1.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions