You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 2-ui/4-forms-controls/2-focus-blur/4-edit-td-click/task.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,15 @@ importance: 5
2
2
3
3
---
4
4
5
-
# Edit TD on click
5
+
# 클릭해서 TD 수정하기
6
6
7
-
Make table cells editable on click.
7
+
셀을 클릭하면 해당 셀을 수정할 수 있게 해주는 테이블을 만들어보세요.
8
8
9
-
-On click -- the cell should became "editable" (textarea appears inside), we can change HTML. There should be no resize, all geometry should remain the same.
10
-
-Buttons OK and CANCEL appear below the cell to finish/cancel the editing.
11
-
-Only one cell may be editable at a moment. While a `<td>` is in "edit mode", clicks on other cells are ignored.
12
-
-The table may have many cells. Use event delegation.
9
+
-셀 클릭 시 셀 안에 textarea가 나타나면서 셀에 들어 있는 콘텐츠(HTML)를 '수정'할 수 있어야 합니다. 이때 textarea 크기는 기존 cell 크기와 같아야 합니다.
10
+
-셀 수정 시 셀 아래쪽에 '완료'와 '취소' 버튼이 노출되도록 하고, 각 버튼을 누르면 수정이 종료, 취소될 수 있게 합니다.
11
+
-한 번에 하나의 셀만 수정할 수 있어야 합니다. `<td>`가 '수정 중'일 때는 다른 셀을 눌러도 클릭 이벤트가 무시되어야 합니다.
0 commit comments