Text color in CKEditor

0

I am using CKEditor with Angular2 to edit / modify a parameter that I have saved in the database. Everything works correctly, except that when I load the base text in CKEditor , I do not see it because it comes with the default white letter.

How can I set the CKEditor to automatically make the text color black?

This is the configuration I have:

In the HTML:

<ckeditor
    [(ngModel)]="ckeditor_Notif_Register"
    [config]="{uiColor: '#F0F3F4',
               extraPlugins: 'divarea'}"
    debounce="500">
</ckeditor>
    
asked by Emiliano Torres 04.05.2017 в 23:40
source

1 answer

0

Well ... I answer myself ... you have to add the following style in the .css so that the background is white and the color is black.

.cke_contents {
    background-color:white;
    color: #000;
}

Pretty stupid, but I could not find it. I leave it in case someone needs it.

    
answered by 05.05.2017 / 01:43
source