AztecEditor-iOS icon indicating copy to clipboard operation
AztecEditor-iOS copied to clipboard

Lists: When changing list style for one list item, change the style for the whole list

Open rachelmcr opened this issue 8 years ago • 0 comments

Expected behavior

I expect that I should be able to change a list style with these steps:

  1. Create a list in one style (e.g. unordered).
  2. Select part of the list, such as a single list item.
  3. Select a new list style (e.g. ordered).

I expect that this will change the entire list style, not just the style for the selected list item. This is how it works in Aztec for Android, Calypso, and (for comparison) Google Docs.

Actual behavior

When I select a single list item and select a new style, it only change the style for the selected list item.

Steps to reproduce the behavior

  1. Create an unordered list with multiple items.
  2. Select one item in the list.
  3. Select the ordered list button.

Result: The selected list item becomes ordered, but the rest of the list remains unordered.

Tested on iPhone 6, iOS 11.0, WPiOS 8.4.0.20170918
Different behavior discovered in automated UI tests for lists in iOS & Android

rachelmcr avatar Sep 25 '17 13:09 rachelmcr