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