소스 검색

Fix <script> breaking editor

pull/3/head
Christian Genco 7 년 전
committed by GitHub
부모
커밋
8a2cdbd722
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. +5
    -1
      templates/editor.html

+ 5
- 1
templates/editor.html 파일 보기

@@ -62,7 +62,11 @@
var hasBuilt = houses.length > 0;
function updatePreview() {
var val = editor.getSession().getValue();
$view.contents().find('body').html(val);
try {
$view.contents().find("body").html(val);
} catch (err) {
console.error(err);
}
{{if .ID}}{{else}}if (val != orig) {
publishing = false;
$publishBtn.removeClass("no");


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