네이버 스마트에디터 내용 초기화, 수정 및 display 속성 팁 > 자료실

자료실

자료실

네이버 스마트에디터 내용 초기화, 수정 및 display 속성 팁

페이지 정보

profile_image
작성자 최고관리자
댓글 0 조회 346회 작성일 23-02-12 08:15
작성일 23-02-12 08:15

본문

//네이버 스마트에디터 내용 초기화, 수정

  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

첨부파일

첨부파일 1

  • 회사 :
  • 대표 :
  • 주소 :
  • 메일 : admin@mysample.com
  • 사업자 등록번호 :
Copyright © cginjs.com All rights reserved.
notice