Problem/Motivation

Over at #2998005-19: [PP-1] Support Drupal core's Media Library I discovered that a typical Media entity embed still has a label showing up. This label has class="visually-hidden", but the corresponding core CSS is not loaded in the CKEditor iframe and hence the label ends up being visible to content authors.

Proposed resolution

Load relevant core CSS in CKEditor iframe.

Remaining tasks

User interface changes

.visually-hidden content is no longer visible in CKEditor.

Before
After

API changes

None.

Data model changes

None.

Release notes snippet

CommentFileSizeAuthor
#2 3057578-2.patch522 byteswim leers

Comments

Wim Leers created an issue. See original summary.

wim leers’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new522 bytes

  • Wim Leers committed 521bf87 on 8.x-1.x
    Issue #3057578 by Wim Leers: .visually-hidden not respected in CKEditor...
wim leers’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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