Problem/Motivation

The styling for the details element is too generic, this results in details outside of the editor also getting the styling. For example the stack traces in error messages, see the attached image.
Details outside of editor showing white text on white background

Steps to reproduce

Place a details element outside of the editor, see it also gets the editor styling. Or create an error with a stacktrace :)

Proposed resolution

Change the CSS so it is specific to the editor.

Remaining tasks

User interface changes

API changes

Data model changes

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:

  • 3457207-styling-outside-editor Comparechanges, plain diff MR !5
  • 2.1.x Comparecompare
  • 2.x Comparecompare

Comments

nvandijk created an issue. See original summary.

nvandijk’s picture

Issue summary: View changes

nvandijk’s picture

StatusFileSize
new987 bytes

I have created a merge request, appending the .ck-editor class to ensure it only styles details within the editor.
Also adding a patch for own use.

idebr’s picture

Status: Needs review » Needs work

.ck-editor includes the toolbar. Let's use .ck-content so the css only applies to the editable content.

nvandijk’s picture

Status: Needs work » Needs review
idebr’s picture

Status: Needs review » Reviewed & tested by the community

Thanks!

liam morland’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: +Needs reroll

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

cicciobat’s picture

Status: Needs work » Needs review
timohuisman’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: -Needs reroll
StatusFileSize
new714 bytes

Reroll looks good and the MR is green. Back to RTBC by #7.

Attached is a snapshot of the MR so it can be safely used with composer-patches.

liam morland’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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