Make WordPress Core

Opened 3 years ago

Closed 2 weeks ago

Last modified 2 weeks ago

#57365 closed defect (bug) (invalid)

"Attempt Block Recovery" functionality broken for buttons "Convert to.." click

Reported by: mikulabc's profile mikulabc Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.1.1
Component: Editor Keywords: close reporter-feedback
Focuses: ui, javascript, css, administration, template Cc:

Description

When i edit the HTML manually and click away, the "Attempt Block Recovery" error appears.

BUG:

Clicking on the "Convert to HTML" or "Convert to Blocks" does nothing.

https://i.imgur.com/fzLTpaH.png

The button "Attempt Block Recovery" itself works and reverts the action to the previous state before I edited the html.

I also screenshotted the red text from the console:

https://i.imgur.com/1l0PjIv.png

Change History (5)

#1 @mikulabc
3 years ago

  • Focuses template added
  • Summary changed from "Attempt Block Recovery" functionality broken for buttons to "Attempt Block Recovery" functionality broken for buttons "Convert to.." click

Tested it on a different WordPress installation with only naked WordPress, no plugins and no modifications, running litespeed server with cloudflare (development mode), same thing, no reaction from the click:

https://i.imgur.com/OvbRgWL.png

vice-versa, converting a classic block for example and then attempting to click the "convert to blocks" also does nothing:

https://i.imgur.com/vWOJp6M.png

#2 @poena
2 weeks ago

  • Keywords close added

Hi
I am not sure what the expectation is in this issue:
That any HTML should be able to be converted to a block?
Or that there should be a notification when the HTML can not be converted?

Because there is not enough information to narrow down the testing of the error,
and because issues with the blocks an the editor need to be reported in the Gutenberg GitHub repository, I suggest closing this ticket.

https://github.com/WordPress/gutenberg/issues?q=is%3Aissue%20state%3Aopen%20block%20validation%20error%20label%3A%22%5BBlock%5D%20Buttons%22

#3 @SirLouen
2 weeks ago

  • Keywords reporter-feedback added

@mikulabc this is one of very few cases where I can't understand what are you doing in the screenshots

Can you provide a step-by-step instruction list to reproduce what you are doing? (or even better, a screencast)

If you are using any specific code, also provide it.

It is not necessary, but instead of using your host, I recommend you to test this in WordPress Playground, because we can all use the same conditions to reproduce it as well.

Also as poena commented, this looks a lot like a Gutenberg issue, so if you can create a new issue in Gutenberg GitHub repo and also, if you can provide better reproduction information, like a screencast, or some detailed step-by-step instructions, with code, I also recommend you to create. Finally, copy and paste here the issue URL so we can close this one.

#4 @mikulabc
2 weeks ago

  • Resolution set to invalid
  • Status changed from new to closed

#5 @mikulabc
2 weeks ago

Ok I moved the ticket to Gutenberg, thanks @SirLouen @poena

Note: See TracTickets for help on using tickets.