0.0.6 • Published 3 years ago

guachos-ckeditor-front v0.0.6

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

GuachosCkeditorFrontDirective

Angular library for injecting content from ckeditor5 to view. Sanitize youtube videos from ckeditor5.

Installation

npm i guachos-ckeditor-front --save

Usages

You must import the module GuachosCkeditorFrontModule where you will use it and use the component

***
import {GuachosCkeditorFrontModule} from 'guachos-ckeditor-front';

@NgModule({
  ***
  imports: [
    GuachosCkeditorFrontModule,
  ],
****
})

In your component:

 <div [ckEditorInnerContent]="content"></div>

The example above injects an html code submitted by ckeditor

Adding ck-content stylesheet

Import ck-editor 5 styles.

@import '~guachos-ckeditor-front/lib/style/ckeditor-style.css';
0.0.5

3 years ago

0.0.4

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago