No 'email' option when choosing link type

Open
#646 2 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
54/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
php
Domain
frontend

Research direction

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.

Written by the indexing model from the issue text.

Description

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

Dominant language
PHP
Stars
47
Forks
35
Avg merge
1d 2h
Merged PRs (30d)
25

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from craftcms/ckeditor

All issues in craftcms/ckeditor

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.