Fix not visible figure-caption in CKEditor

Created on 19 May 2024, 7 months ago

I have a problem with Varbase Theme in edit mode. Text-caption under pictures (figure-caption) are not visible in CK-Editor (only visible when selected), because they are white.
We have in bootstrap.base.css (in a css file called by bootstrap.base.scss)
.figure-caption {
color: #fffff9;
font-size: 90%;
}
I've tried to force it to be black with such css :
#edit-body-wrapper .cke_contents iframe.cke_wysiwyg_frame .drupal-media .figure-caption {
color: black !important;
}
but this part is in an iFrame and cannot be changed, as far as I know, without js.
Is there a solution?
Thank you

🐛 Bug report
Status

Needs work

Version

9.0

Component

Code

Created by

🇫🇷France jeanpaulbouvet

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

Comments & Activities

Production build 0.71.5 2024