INGInious / INGInious/problems-permutation

One line uniquely

Đang mở
#1 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
1
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi,
I've seen that you have configured the permutation to have only one line element.
At line 126 line of code in INGInious-problems-permutation/permutation-studio/src/Row.jsx
you have written:
this.valueTA.style.whiteSpace = 'nowrap';
Why this choice? Can you set the whiteSpace to 'normal' to allow multiline?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start at line 126 of permutation-studio/src/Row.jsx and inspect how the value text area uses the whiteSpace style. Change the behavior so the permutation can display multiline content, then verify that a rich element with multiple lines is rendered without being forced onto one line.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript
Lĩnh vực
frontend
Loại issue
Tính năng
Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.