when using front end css, entire gin interface changes

Created on 20 August 2025, about 1 month ago

Problem/Motivation

In my THEME.info.yml file, I have this...

ckeditor5-stylesheets:
  - assets/dist/css/main.css

To use the front end code.

I've given my typography styles the .ck-editor__editable class name... with the hope that it will target JUST the CKEDITOR...

But when I open a CKEDITOR, all of the typography in gin's interface changes.


Steps to reproduce

Add

ckeditor5-stylesheets:
  - assets/dist/css/main.css

To your THEME.info.yml file.

Add a class to your CSS

Edit a node, open something with an RTE...

And all of your typography changes.

---

Is there a different class name I should use? instead of "ck-editor__editable" ?

πŸ› Bug report
Status

Active

Version

5.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States alphex Atlanta, GA USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024