Summernote 에디터 설정 정보 가져오기
페이지 정보
본문
var context = $('#summernote').data('summernote'); /* summernote 에디터 설정 정보 가져오기 */
var ui = context.ui;
var $note = context.layoutInfo.note;
var $editor = context.layoutInfo.editor;
var $editable = context.layoutInfo.editable;
var $toolbar = context.layoutInfo.toolbar;
var modules = context.modules;
var memos = context.memos;
var options = context.options;
var lang = options.langInfo;
console.log(options.height); // 300 출력
console.log(lang); // 'ko-KR' 출력
추천
0
비추천
0
- 다음글 Summernote에서 전체 화면(Fullscreen) 모드 적용 26.02.16
