공지사항 에디터 추가
parent
9a55723026
commit
08cf38065f
|
|
@ -94,6 +94,11 @@ function getEditModal(publicKey, publicType){
|
||||||
]
|
]
|
||||||
});*/
|
});*/
|
||||||
setUploadDiv();
|
setUploadDiv();
|
||||||
|
var CrossEditor = new NamoSE('editor');
|
||||||
|
CrossEditor.params.ParentEditor = document.getElementById("editor");
|
||||||
|
$("#editor").show();
|
||||||
|
CrossEditor.EditorStart();
|
||||||
|
|
||||||
$("#editModal").modal('show');
|
$("#editModal").modal('show');
|
||||||
},
|
},
|
||||||
error:function(){
|
error:function(){
|
||||||
|
|
|
||||||
|
|
@ -40,13 +40,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3 row justify-content-center">
|
<div class="mb-3 row justify-content-center">
|
||||||
<label for="content" class="col-sm-2 col-form-label text-center">내용</label>
|
<label for="editor" class="col-sm-2 col-form-label text-center">내용</label>
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10" id="editor" name='editor'>
|
||||||
<textarea type='text' id="content" name='content' th:utext="${info.content}"></textarea>
|
<!--<textarea type='hidden' id="content" name='content' th:utext="${info.content}"></textarea>-->
|
||||||
<script type="text/javascript">
|
|
||||||
var CrossEditor = new NamoSE('content');
|
|
||||||
CrossEditor.EditorStart();
|
|
||||||
</script>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row mb-3">
|
<div class="row mb-3">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue