No 'email' option when choosing link type

未关闭
#646 2 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
54/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
php
领域
frontend

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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

主要语言
PHP
星标
47
派生
35
平均合并
1 天 2 小时
30 天内合并 PR
25

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

craftcms/ckeditor 的其他 Issue

查看 craftcms/ckeditor 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。