guachos-ckeditor-front
v0.0.6
Published
Angular library for injecting content from ckeditor5 to view. Sanitize youtube videos from ckeditor5.
Downloads
9
Readme
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';