크기 자동 조정을 사용하여 텍스트 영역 작성 이것에는 또 다른 실마리가 있습니다.제가 시도해 본 것입니다.하지만 한 가지 문제가 있습니다.textarea내용을 삭제해도 축소되지 않습니다.clientHeight은 값 value value value value of of of of of of of of 의 .textarea 이 페이지의 코드는 다음과 같습니다. function FitToContent(id, maxHeight) { var text = id && id.style ? id : document.getElementById(id); if ( !text ) return; var adjustedHeight = text.clientHeight; if ( !maxHeight || maxHeight > adju..