mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 08:20:13 +01:00
fix(ckeditor): fix #150 source color is same as background
This commit is contained in:
parent
98097f5e27
commit
8488eb5184
2 changed files with 9 additions and 2 deletions
|
|
@ -1,12 +1,14 @@
|
||||||
import {Component} from '@angular/core';
|
import { Component, ViewEncapsulation } from '@angular/core';
|
||||||
import {CKEditor} from 'ng2-ckeditor';
|
import {CKEditor} from 'ng2-ckeditor';
|
||||||
|
|
||||||
import './ckeditor.loader.ts';
|
import './ckeditor.loader.ts';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ckeditor-component',
|
selector: 'ckeditor-component',
|
||||||
|
encapsulation: ViewEncapsulation.None,
|
||||||
directives: [CKEditor],
|
directives: [CKEditor],
|
||||||
template: require('./ckeditor.html')
|
template: require('./ckeditor.html'),
|
||||||
|
styles: [require('./ckeditor.scss')]
|
||||||
})
|
})
|
||||||
|
|
||||||
export class Ckeditor {
|
export class Ckeditor {
|
||||||
|
|
|
||||||
5
src/app/pages/editors/components/ckeditor/ckeditor.scss
Normal file
5
src/app/pages/editors/components/ckeditor/ckeditor.scss
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
@import '../../../../theme/sass/conf/conf';
|
||||||
|
|
||||||
|
.cke_source {
|
||||||
|
color: $dropdown-text!important;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue