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

Classic block: can't get out of HTML mode #24331

Closed
mcsf opened this issue Aug 3, 2020 · 3 comments
Closed

Classic block: can't get out of HTML mode #24331

mcsf opened this issue Aug 3, 2020 · 3 comments
Labels
[Block] Classic Affects the Classic Editor Block [Type] Bug An existing feature does not function as intended

Comments

@mcsf
Copy link
Contributor

mcsf commented Aug 3, 2020

To reproduce
Steps to reproduce the behavior:

  1. Add a Classic block with some content inside.
  2. Switch to Edit as HTML via the block's toolbar.
  3. Select a different block.
  4. Select the Classic block again.

Observed
The block's toolbar is unavailable, and thus there is no way to return to Visual mode. Notice also how the block's name doesn't show in the editor's breadcrumbs (bottom-left corner of the page).

Expected behavior
The toolbar should remain visible as it was at the end of step 2.

Recovery
The only possible steps to recover from this failure are:

  • Either delete the block with Ctrl-Z
  • Switch to global Code Mode, edit the classic contents, and switch back to Visual.

Environment
Affects both the latest plugin version and WP core (5.5) as of today.

Screenshots
Captura de ecrã 2020-08-03, às 14 48 59
Captura de ecrã 2020-08-03, às 14 49 14
Captura de ecrã 2020-08-03, às 14 49 22
Captura de ecrã 2020-08-03, às 14 49 33

@mcsf mcsf added [Type] Bug An existing feature does not function as intended [Block] Classic Affects the Classic Editor Block labels Aug 3, 2020
@ntsekouras
Copy link
Contributor

Probably related: #23511

@mcsf
Copy link
Contributor Author

mcsf commented Aug 3, 2020

Probably related: #23511

Seems definitely related.

@ntsekouras
Copy link
Contributor

Resolved by #24335

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Classic Affects the Classic Editor Block [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants