새로운 에디터로 코드 작성시.. > 자유게시판

자유게시판

새로운 에디터로 코드 작성시.. 정보

새로운 에디터로 코드 작성시..

본문

보통 소스 코드를 카피해서 에디터에 붙여 넣기를 할 때..  html code가 안들어게 RAW에서 카피해서 붙여넣기를 하는데..  

아래와 같이 되네요..


// Show reply box and hide-button, hide reply-button $(document).on('click', '.reply-button', function() { $(this).parent().children('.msg-text').show(); // Show textarea $(this).parent().children('.hide-reply-box').show(); // Show hide-button $(this).hide(); // Hide reply-button // Clear any previous errors and warnings $('.warning').hide(); $('.error').hide(); $('.warning p').html(''); $('.error p').html(''); });
추천
0
  • 복사

댓글 4개

© SIRSOFT
현재 페이지 제일 처음으로