We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32068bc commit 0334634Copy full SHA for 0334634
2-ui/4-forms-controls/2-focus-blur/4-edit-td-click/solution.md
@@ -1,5 +1,5 @@
1
2
-1. On click -- replace `innerHTML` of the cell by `<textarea>` with same sizes and no border. Can use JavaScript or CSS to set the right size.
3
-2. Set `textarea.value` to `td.innerHTML`.
4
-3. Focus on the textarea.
5
-4. Show buttons OK/CANCEL under the cell, handle clicks on them.
+1. 셀 클릭 시 셀의 `innerHTML`을 `<textarea>`로 교체합니다. 이때 기존 `<textarea>`는 기존 셀의 크기와 같고, 테두리(border)가 없습니다. 크기 지정엔 자바스크립트를 사용해도 되고, CSS를 사용해도 됩니다.
+2. `textarea.value`를 `td.innerHTML`과 같게 설정합니다.
+3. textarea에 포커스를 줍니다.
+4. 셀 아래에 완료, 취소 버튼을 보여주고, 버튼에 적절한 핸들러를 달아줍니다.
0 commit comments