unsaved file marker

This commit is contained in:
Jan Prochazka
2022-09-29 13:58:09 +02:00
parent 1382461bdc
commit 7604889b72
7 changed files with 59 additions and 14 deletions

View File

@@ -554,6 +554,7 @@
editor.on('focus', () => dispatch('focus'));
editor.setReadOnly(readOnly);
editor.on('change', () => {
const content = editor.getValue();
value = content;