Изменить 'ace/index.html'

This commit is contained in:
KaiSD committed 2019-09-03 19:00:14 +02:00
1 parent 4739040d9b
commit 39b46fc105
1 file changed
+5
+5
View File
@@ -39,6 +39,11 @@
showGutter: false,
autoScrollEditorIntoView: true
})
editor.getSession().setValue(localStorage.getItem("acetest"));
editor.getSession().on('change', function () {
localStorage.setItem("acetest", editor.getSession().getValue());
});
</script>
</body>