Snapshot on highlight changes

This commit is contained in:
Ian Gulliver
2019-07-12 03:54:03 +00:00
parent b1a90d7905
commit eadc7af135
4 changed files with 4 additions and 1 deletions

View File

@@ -118,6 +118,7 @@ class EditorNode extends EditorEntryBase {
case ' ':
this.elem_.classList.toggle('highlight');
this.elem_.setAttribute('data-arch-snapshot', '');
this.onInput();
e.stopPropagation();
e.preventDefault();