gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

Pullquote with color causes invalid content bug

Open DeoThemes opened this issue 7 years ago • 3 comments

Describe the bug When choosing Pullquote with primary color it breaks the block in the editor after page refresh with the following error: This block contains unexpected or invalid content It happens on default 2019 theme.

To reproduce Steps to reproduce the behavior:

  1. Add basic Pullquote block
  2. Select main color
  3. Update the post
  4. Refresh the page

Screenshots pullquote

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome
  • Version 75.0.3770.100

DeoThemes avatar Jul 05 '19 12:07 DeoThemes

Why was this removed from the 6.2 milestone?

A simple pullquote like this not working properly is so annoying...

pmmueller avatar Jul 31 '19 17:07 pmmueller

+1 Waiting for the bugfix.

CreativeDive avatar Oct 08 '19 07:10 CreativeDive

I have the same problem in this theme but also in my own theme. To get the colors the customizer sets, it is needed to update the color palette and I think, as soon as this happens, the pullquote with default styling gets somehow destroyed.

The twentynineteen Theme does update the colors while loading the editor, but I am not 100% sure, so after a reload it is destroyed. I in my theme do it when the customizer gets saved but that has the same effect. Maybe someone has a idea how to solve that problem.

DesignerThan95 avatar Oct 24 '19 06:10 DesignerThan95