mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-28 20:26:10 +01:00
fix(ckeditor): fix ckeditor loader
This commit is contained in:
parent
54756fca99
commit
c15fee6eb6
4 changed files with 11 additions and 9 deletions
|
|
@ -1,19 +1,20 @@
|
|||
import { Component, ViewEncapsulation } from '@angular/core';
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
import './ckeditor.loader.ts';
|
||||
import './ckeditor.loader';
|
||||
import 'ckeditor';
|
||||
import 'style-loader!./ckeditor.scss';
|
||||
|
||||
@Component({
|
||||
selector: 'ckeditor-component',
|
||||
// encapsulation: ViewEncapsulation.None,
|
||||
templateUrl: './ckeditor.html',
|
||||
styleUrls: ['./ckeditor.scss']
|
||||
})
|
||||
|
||||
export class Ckeditor {
|
||||
public ckeditorContent:string = '<p>Hello CKEditor</p>';
|
||||
public config = {
|
||||
uiColor: '#F0F3F4',
|
||||
height: '600'
|
||||
height: '600',
|
||||
extraPlugins: 'divarea',
|
||||
};
|
||||
|
||||
constructor() {
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
window['CKEDITOR_BASEPATH'] = '//cdn.ckeditor.com/4.6.0/standard/';
|
||||
import 'ckeditor';
|
||||
window['CKEDITOR_BASEPATH'] = '/ckeditor/';
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
@import '../../../../theme/sass/conf/conf';
|
||||
|
||||
.cke_source {
|
||||
color: $dropdown-text!important;
|
||||
.cke_wysiwyg_div {
|
||||
padding: 20px !important;
|
||||
color: $ckeditor-text !important;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue