Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#50247 closed defect (bug) (worksforme)

Text Color with preset color not work on gutenberg

Reported by: jbatmalle's profile jbatmalle Owned by:
Milestone: Priority: normal
Severity: minor Version: 5.4.1
Component: Editor Keywords: has-screenshots
Focuses: ui, css Cc:

Description

Hi,

I try to change the color of a word in gutenberg but i can't

I choose a preset color (Accent Color) but color not change in editor and preview

the span created : <span class="has-inline-color has-accent-color">sqsdqsdq</span>

But if I use custom color that work
<span data-rich-text-format-boundary="true" style="color:#3995bc" class="has-inline-color">sqsdqsdq</span>

Could you help me

Thanks

Attachments (2)

before.jpg (19.5 KB) - added by jbatmalle 4 years ago.
before
after.jpeg (15.5 KB) - added by jbatmalle 4 years ago.
after

Download all attachments as: .zip

Change History (6)

@jbatmalle
4 years ago

before

@jbatmalle
4 years ago

after

#1 @sabernhardt
4 years ago

  • Keywords reporter-feedback added

@jbatmalle Hi and thanks for the report!

Using the Twenty Twenty theme, I was able to set inline text to the accent color and then see the color in both the editor and the preview/live page.

Which theme do you use? I think that might lack support for inline colors.

#2 @jbatmalle
4 years ago

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

Hi,
Thanks you for ypur response
I don't use Twenty Twenty theme but Hestia Theme
I contact the theme support you can close ticket
Thanks

#3 @desrosj
4 years ago

  • Component changed from General to Editor
  • Keywords reporter-feedback removed
  • Milestone Awaiting Review deleted

#4 @desrosj
4 years ago

  • Resolution changed from invalid to worksforme
Note: See TracTickets for help on using tickets.