Add default buttons of the TinyMCE WSYWIG
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với trang tài liệu WYSIWYG được liên kết trong issue và so sánh các tùy chọn được tài liệu hóa với các giá trị mặc định của Directus được mô tả ở đây. Ghi lại các nút mặc định trên thanh công cụ và giải thích cách cấu hình các định dạng phông chữ cũng như các tùy chọn TinyMCE bổ sung; công việc được xem là hoàn tất khi trang này trình bày rõ cả các giá trị mặc định và các ví dụ tùy chỉnh.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
In https://directus.io/docs/guides/data-model/interfaces#wysiwyg
It would be great that the user had information of what options are currently being displayed by default in said field, in case there's any specific they want to remove, and also to give an idea of how to add extra fields, as it's a bit confusing because the TinyMCE docs and how Directus handles said info is different:
Example
TinyMCE example:
<script>
tinymce.init({
selector: '#editor',
toolbar: 'bold italic underlined | h1 h2 h3 | numlist bullist removeformat blockquote | link image media code | fullscreen',
height: '100px'
});
</script>
How Directus handles it:
{
"toolbar": "bold italic underlined | h1 h2 h3 | numlist bullist removeformat blockquote | link image media code | fullscreen"
}
And, for some reason, also the template given by Directus inside the field configuration is:
{
"font_size_formats": "8pt 10pt 12pt 14pt 16pt 18pt 24pt 36pt 48pt",
"font_family_formats": "Arial=arial,helvetica,sans-serif; Courier New=courier new,courier,monospace;"
}
Result
Under Options override
The one that Directus currently has by default, and the one that should be shown in the docs is something like:
This is the group of buttons offered by Directus:
"toolbar": "bold italic underlined h1 h2 h3 numlist bullist removeformat blockquote link image media code fullscreen"
Ideally it would also mention other options like font_size_formats, or at least give some information on how to use those fields in Directus.
For example:
- Ngôn ngữ chính
- TypeScript
- Star
- 24
- Fork
- 90
- Merge trung bình
- 3 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 19
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 directus/docs
-
Docs Platform
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
directus/docs#88 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
llms.txt links agents to /raw/ copies where partials are empty; the inlined .md copies aren't linkedĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 67/100
directus/docs#865 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Document required special flags per field typeCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 58/100
directus/docs#850 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
directus/docs#771 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
content-improvement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
directus/docs#726 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của directus/docs
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
vercel-labs/ui#1066 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(factory-cockpit): display active agent/actor name instead of verbose step name in run card badgeĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/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 68/100
ranxianglei/billion-context#7597 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation target:powerpoint
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
tomast1337/PdfLapas#602 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
kubernetes-ingestor: fetchCRDMapping() runs even when crossplane.enabled is false, logging a 403 ERROR every runCó thể đã có người làm @kc9ddi đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
TeraSky-OSS/backstage-plugins#228 ·