Add auto-save support and saving indicator
This commit is contained in:
@@ -62,6 +62,7 @@ export class NormComponent extends EditorNodeContract implements OnInit {
|
||||
const innerHTML = this.editable.nativeElement.innerHTML;
|
||||
if ( this.contents !== innerHTML ) {
|
||||
this.contents = innerHTML;
|
||||
this.editorService.triggerSave();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user