네이버 스마트에디터 내용 초기화, 수정 및 display 속성 팁
페이지 정보
본문
//네이버 스마트에디터 내용 초기화, 수정
oEditors.getById['TxtArea'].exec("SET_IR", ['']); //초기화
oEditors.getById['TxtArea'].exec("PASTE_HTML", [html]); //내용 append
oEditors.getById['TxtArea'].exec("UPDATE_CONTENTS_FIELD", []); //내용 textarea로 보냄
//네이버 스마트에디터 display:none->block 변경 시 있던 값 안나올 때
oEditors.getById['TxtArea'].exec('CHANGE_EDITING_MODE', ['WYSIWYG']);
oEditors.getById['TxtArea'].exec('FOCUS');
추천
0
비추천
0
- 이전글 position:absolute; 중앙 정렬 23.02.15
첨부파일
첨부파일
1
- 1

