소스 검색

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

master
KaiSD 4 년 전
부모
커밋
7fd7924924
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. +4
    -2
      ace/index.html

+ 4
- 2
ace/index.html 파일 보기

@@ -40,8 +40,10 @@
autoScrollEditorIntoView: true
})
editor.setValue(localStorage.getItem("acetest"));
editor.clearSelection();
if (localStorage.getItem("acetest") === null) {
editor.setValue(localStorage.getItem("acetest"));
editor.clearSelection();
}
editor.getSession().on('change', function () {
localStorage.setItem("acetest", editor.getSession().getValue());


불러오는 중...
취소
저장