No 'email' option when choosing link type

Aperta
#646 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
54/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
php
Ambito
frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
PHP
Stelle
47
Fork
35
Merge medio
1g 2h
PR unite (30g)
25

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di craftcms/ckeditor

Tutte le issue di craftcms/ckeditor

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.