No 'email' option when choosing link type

Đang mở
#646 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

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
54/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
php
Lĩnh vực
frontend

Hướng nghiên cứu

Start by reading the plugin’s CKEditor link configuration and related tests to find where the available link types are defined. Check whether an email link option can be configured with an address and rendered with the mailto: protocol; done means editors can choose Email, enter an address, and get a mail link in field output.

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

Mô tả

bug repo:ckeditor
Description

When you highlight a piece of text and click the link icon, the only options available are 'Entry', 'Asset' and 'URL'.
I can't see anything in the normal field settings that lets you add an 'Email' option? Appreciate that you can choose the URL option and manually type 'mailto:[email protected]' in the URL field, but for non-technical users that wouldn't be obvious.
Ideally there would be an 'Email' option so the user can choose that and then just enter the email address the link should point to. CKEditor would then automatically add the 'mailto' protocol when rendering the field output on the front-end.

Steps to reproduce
  1. Highlight text and click the 'link' icon
  2. There's no 'Email' option in the popup that appears
Additional info
  • Craft version: Solo 5.12.0.1
  • PHP version: 8.5.0
  • Database driver & version: MySQL 8.0.40
  • Plugins & versions:

CKEditor 5.9.0
Cookies 5.0.0
Expanded Singles 3.0.11
Freeform 5.17.8
Matrix Block Anchor 3.4.0
Navigation 4.1.0
Retour 5.0.14
SEOmatic 5.1.22
Vite 5.0.2

Ngôn ngữ chính
PHP
Star
47
Fork
35
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
25

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của craftcms/ckeditor

Tất cả issue của craftcms/ckeditor

Issue tương tự

Thêm issue về PHP

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.