Skip to content

Every redactor field gets random font-size styling #473

@sandrodunkel

Description

@sandrodunkel

Description

Somehow all redactor fields got wrapped in a <p style="font-size:16px;"></p> – even fields that are empty and nothing was ever pasted into them. Sometimes the mysterious <p> even gets and additional font-family styling. This not only messes up a lot of our styling but it also messes with {% if redactor|length %} since an empty field isn't actually empty.

Additional info

  • Craft version: 4.4.1.3
  • PHP version: 8.2.9
  • Database driver & version: MariaDB 10.6.13
  • Plugins & versions: Cookies (4.0.0) / Dashboard Begone (2.0.0) / Formie (2.0.30) / Language Redirector (2.0.1) / Neo (3.7.9) / Redactor (3.0.4) / Redactor Custom Styles (4.0.3) / SEOmatic (4.0.27) / Sprig (2.6.2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions