Add auto-save support and saving indicator
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
2020-10-14 11:25:26 -05:00
parent 9a53faf338
commit 9f80842b9f
6 changed files with 64 additions and 6 deletions

View File

@@ -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();
}
}