1

I want to access cke_editable class in the body tag. My own defined class is .feed-ckeditor.

I am using the below CSS to access the inner class.

.feed-ckeditor {
    .cke_chrome {
        border: none !important;

        .cke_contents {
            height: 100px !important;

        }
    }

    body .cke_editable{
            font-size: 20px !important;
            line-height: 1.6;
            word-wrap: break-word;
        
    }

    .cke_bottom {
        border-top: 1px solid #c9c9c94d !important;
        border-bottom: 1px solid #c9c9c94d !important;
    }
}

I am not able to make a font size 20px of the CKEditor text area.

The below image shows the nested hierarchy.

enter image description here

Mohammed Mak
  • 47
  • 1
  • 7
  • possible duplicate of https://stackoverflow.com/questions/217776/how-to-apply-css-to-iframe . Basically setting the css in an iframe is not that simple. If you still can't make it work based on the link please provide a minimal working example – Berci Jun 25 '22 at 11:49

0 Answers0