wordpress-mobile / WordPress-Android

WordPress for Android
http://android.wordpress.org
GNU General Public License v2.0
2.99k stars 1.32k forks source link

Bug: Can not switch to blocks editor after adding a list to classic editor #12360

Open ahmet-izgi opened 4 years ago

ahmet-izgi commented 4 years ago

Expected behavior

User should be able to switch to blocks editor anytime.

Actual behavior

Switch to block editor is not shown on the menu

Steps to reproduce the behavior

  1. Create a new post
  2. Switch to classic editor
  3. Add unordered list
  4. Add any element
  5. Try to switch to blocks editor
Tested on [device], Android [version], WPAndroid [version]

PIXEL 2 API 30 Emulator, WordPress 15

rachelmcr commented 4 years ago

I'm not sure we have the expectation that users can switch to the block editor at any time. I see a specific set of scenarios in EditPostActivity where we expect that menu item to be shown. I also noticed that if I add some block content before switching to the classic editor, I can switch back to the block editor.

@hypest could you help determine if the current behavior is expected here, or if it's indeed a bug?

hypest commented 4 years ago

Thanks for the ping @rachelmcr .

Indeed, switching between the editors in a symmetric way in all cases is not supported, not a bug. Reason is, the block editor doesn't yet have good support for non-blocks content, leading to poor UX in the block editor. So, we limit the switch to "block editor" unless there are blocks already in the post.

So, I will remove the "Bug" label and add the "Enhancement" one. Let me know if there are still reasons to treat this as a bug and we can discuss. Thanks!