Problem/Motivation

I guess the grey thick borders were supposed to be shown only while editing the text with CKEditor, but by default (with Drupal 10.3.6 and both Olivero & Claro themes) they are styled anywhere there is a section html element, for example on the node being viewed (even without having manually inserted them) if there is also a form with CKEditor on the same page (by default any node with comments enabled).

Proposed resolution

Change the section and section:before declarations to .ck-editor__editable section and .ck-editor__editable section:before to make the CSS apply only to sections within the CKEditor text area.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kopeboy created an issue. See original summary.

kopeboy’s picture

Issue summary: View changes

sadysierralta made their first commit to this issue’s fork.

sadysierralta’s picture

Status: Active » Needs review

timohuisman’s picture

Status: Needs review » Fixed

Thanks for your contribution!

timohuisman’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.