Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.43k stars 1.99k forks source link

Simple Sites > Inline Formatting: Uppercase is not working on FSE and Classic themes #72822

Open Gustavo-Hilario opened 1 year ago

Gustavo-Hilario commented 1 year ago

Quick summary

When setting a specific string in a Heading or Paragraph block to be uppercase, no changes are made on the editor and live page.

Steps to reproduce

  1. Create a new page.
  2. Add text with Paragraph and Heading blocks.
  3. Select specific text on those blocks to be uppercase.
  4. Check the editor and published page. No changes will be made.

What you expected to happen

I'd expected the text to be uppercased. This is what happens on an Atomic site:

uppercase-atomic

Notice that the CSS below is making the change:

.uppercase {
    text-transform: uppercase;
}

What actually happened

No changes are made to the text on Simple Sites:

uppercase

On the other hand, I couldn't find any CSS that would make the text uppercase on Simple Sites. I could reproduce this on several classic and FSE themes.

Impact

Some (< 50%)

Available workarounds?

Yes, easy to implement

Platform (Simple and/or Atomic)

Simple

Logs or notes

Adding the CSS code manually to the site should fix this issue:

.uppercase {
    text-transform: uppercase;
}
Gustavo-Hilario commented 1 year ago

User report: 5914513-zen

github-actions[bot] commented 1 year ago

Support References

This comment is automatically generated. Please do not edit it.

cuemarie commented 1 year ago

📌 SCRUBBING : RESULT - Replicated / Could Not Replicate / Uncertain

📌 FINDINGS/SCREENSHOTS/VIDEO

Markup on 2023-03-21 at 11:25:33

AT Example for comparison

Markup on 2023-03-21 at 11:28:06

📌 ACTIONS

cuemarie commented 1 year ago

Older user reports from #59494 :