Insecure Content Warning Visibility Issue with long content
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Tái hiện vấn đề trong trình chỉnh sửa WordPress bằng một bài viết hoặc trang dài chứa nội dung không an toàn, sau đó theo dõi luồng xuất bản/cập nhật và cách hiển thị cảnh báo nội dung không an toàn. Hoàn thành khi trình chỉnh sửa tự động cuộn đến cảnh báo và làm nổi bật cảnh báo đó khi thao tác xuất bản hoặc cập nhật thất bại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
Description of the issue:
When a post or page contains long content and triggers an insecure content warning, the page should automatically scroll to the top and highlight the error. Currently, if a post/page with long content has insecure content, after clicking the publish/update button, the user is unable to identify the cause of the failure because the warning appears at the top of the screen, which may not be visible due to the length of the content.
https://github.com/10up/insecure-content-warning/assets/6384299/9f75d120-f36c-4f67-a059-9c35588e5ef1
Steps to Reproduce
Steps to Reproduce:
- Create or edit a post/page.
- Add a significant amount of content to the editor to make the page scrollable.
- Insert insecure content
- Click the publish/update button.
Screenshots, screen recording, code snippet
Expected Result:
The page should automatically scroll to the top and highlight the insecure content warning, making it clear to the user why the post/page is not published.
Environment information
No response
WordPress information
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
- Ngôn ngữ chính
- JavaScript
- Star
- 37
- Fork
- 0
- Merge trung bình
- 38 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của 10up/insecure-content-warning
-
wpvc
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
10up/insecure-content-warning#230 ·
-
Update PHP support to 8.2–8.5Đang mởhelp wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
10up/insecure-content-warning#227 ·
Tất cả issue của 10up/insecure-content-warning
Issue tương tự
-
marketing
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Fei2411/DeepSeek-Bot#2090 ·
-
area: ui good first issue javascript priority: medium refactor
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
fukubie/StockLlama#49 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
sunososobro-hub/cloudball#350 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
wpvc
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
10up/embed-block-figma#101 ·