summernote 에디터에서 특정객체 hover시 tooltip 변경하기 > 자료실

회원로그인

오늘 본 게시물

오늘 본 페이지

없음

오늘 본 C.m.A Util

없음

자료실

자료실

summernote 에디터에서 특정객체 hover시 tooltip 변경하기

페이지 정보

본문

summernote 에디터에서 특정객체 hover시 tooltip 변경하기

// codeview 코드 보기 객체를 대상으로
$('.note-editor.note-frame .note-toolbar .note-btn-group.note-codeview button.note-btn.btn-codeview').hover(function(e){
	var $note_editor = $(this).closest('.note-editor.note-frame');
	if( $note_editor.hasClass('codeview') === true ) {
		var $note_tooltip = $note_editor.find('.note-tooltip.bottom.in');
		var $note_tooltip_content = $note_tooltip.find('.note-tooltip-content');
		$note_tooltip_content.html('코드 숨기기');
	} else {

	}
}, function(e) {

});



추천 0 비추천 0

  • 회사 : Cginjs
  • 대표 : Cginjs
  • 주소 :
  • 메일 : admin@mysample.com
  • 사업자 등록번호 :
Copyright © Cginjs All rights reserved.
notice
Warning: Undefined variable $HTTP_ACCEPT_LANGUAGE in /cginjs/www/bbs/visit_insert.inc.php on line 131