Изменить 'ace/index.html'
This commit is contained in:
@@ -39,6 +39,11 @@
|
|||||||
showGutter: false,
|
showGutter: false,
|
||||||
autoScrollEditorIntoView: true
|
autoScrollEditorIntoView: true
|
||||||
})
|
})
|
||||||
|
editor.getSession().setValue(localStorage.getItem("acetest"));
|
||||||
|
|
||||||
|
editor.getSession().on('change', function () {
|
||||||
|
localStorage.setItem("acetest", editor.getSession().getValue());
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user