How To Use
1 - install library
2 - Import library into module
Example : - import {HtmlEditorModule} from '@anishg/html-editor'
// ...
@NgModule({
imports: [
HtmlEditorModule
// ...
]
// ...
})
export class AppModule {}
3 -
<html-editor (getHtml)="getHtmlCode($event)" [html]="'hiii'">
Exapmle : - getHtmlCode(code){
console.log(code)
}
4 - Create new widget using new button
5 - Double click to widget editable
6 - Single click to resize widget
7- Drag widtht to Anywhere
"