Opened 2 days ago
Closed 34 hours ago
#64179 closed defect (bug) (reported-upstream)
"Edit as HTML" broken if block has Highlighted markup
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 6.8.3 |
| Component: | Editor | Keywords: | |
| Focuses: | Cc: |
Description
If all of the text inside of a block (e.g. Paragraph or List Item) has a background highlight applied to it (from the block formatting menu) and then you try to "Edit as HTML" the "This block has encountered an error and cannot be previewed." error will come up. However, if you remove the Highlight then choose to "Edit as HTML" it works fine. This bug only seems to happen when the background highlight is applied, not the text highlight and it seems like it only happen when all of the copy has the background highlight, not just some of the text.
Attachments (1)
Change History (2)
#1
@
34 hours ago
- Component changed from Formatting to Editor
- Milestone Awaiting Review deleted
- Resolution set to reported-upstream
- Status changed from new to closed
Thanks for the report. I was able to replicate the problem.
I have reported this issue to the Gutenberg project, so I will close this ticket.
Note: See
TracTickets for help on using
tickets.
Screen recording showing the issue