Task #83789

Links to email are not created automatically

Added by Eric Chavaillaz over 1 year ago. Updated 6 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
Start date:
2018-02-06
Due date:
% Done:

100%

TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Hi,

With the ext "rte_ckeditor" and the plugin "autolink" the links on email addresses are note rendered automatically.
It would be great to take also this in account (like the old behaviour with the RTE).

Thanks
Eric

autolink.gif View (612 KB) Josef Glatz, 2018-09-23 15:30


Related issues

Related to TYPO3 Core - Bug #84500: CKEditor: autolinking plugin doesn't support mail address autolinking Closed 2018-03-20

Associated revisions

Revision 411a97dc (diff)
Added by Josef Glatz 11 months ago

[TASK] CKEditor: enable autolink plugin per default

This patch activates the autolink functionality while
pasting an URL or an email address from the clipboard
to the CKEditor in WYSIWYG-mode.

Resolves: #83789
Releases: master
Change-Id: I0c23dc57406207614aca0d865b99ade3917ef15a
Reviewed-on: https://review.typo3.org/58377
Tested-by: TYPO3com <>
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>
Reviewed-by: Frank Naegler <>
Tested-by: Frank Naegler <>

History

#2 Updated by Josef Glatz over 1 year ago

  • Related to Bug #84500: CKEditor: autolinking plugin doesn't support mail address autolinking added

#3 Updated by Riccardo De Contardi over 1 year ago

It seems that this has been solved on March https://github.com/ckeditor/ckeditor-dev/pull/1825

#4 Updated by Riccardo De Contardi over 1 year ago

I report here the comment on issue #84500 by Josef Glatz to keep track of it

Just for reference: rtehtmlarea regular expression:
https://github.com/FriendsOfTYPO3/rtehtmlarea/search?utf8=%E2%9C%93&q=RE_email&type=

Just for reference: Some more recent links about detecting email addresses
https://stackoverflow.com/questions/46155/how-to-validate-an-email-address-in-javascript
https://www.sitepoint.com/javascript-validate-email-address-regex/

#5 Updated by Georg Ringer about 1 year ago

ckeditor 4.10 is released which contains the change

#6 Updated by Josef Glatz about 1 year ago

  • Status changed from New to Accepted
  • Assignee set to Josef Glatz

#7 Updated by Gerrit Code Review 11 months ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58377

#8 Updated by Josef Glatz 11 months ago

Gerrit Code Review wrote:

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58377

I don't know if this is what you want, but I've added the plugin, so that pasting an URL or an email address is automatically linked after pasting.

For me this is only working if I explicitly paste a url or a mail-addy. I don't know if this is the main need of this issue

#9 Updated by Anonymous 11 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#10 Updated by Benni Mack 11 months ago

  • Status changed from Resolved to Closed

#11 Updated by Tobias Schmidt 11 months ago

Thanks for adding the autolink plugin. This is an improvement but linking while typing is the more important feature. Unfortunately the current version of CKEditor 4 is not able to link URLs and email addresses automatically while typing. This feature will probably be available in version 4.11: https://github.com/ckeditor/ckeditor-dev/issues/1815#issuecomment-405965905
So, I guess we have to wait until CKEditor 4.11 is included in TYPO3 or someone develops a custom solution/backports this feature.

#12 Updated by Philipp Kitzberger 6 months ago

For anyone who's in need of a quick solution I wanted to let them know that I've just created a tiny extension that's providing the feature of autolinking mail addresses to the ckeditor.

And yes, it's heavily inspired by the autolink plugin that's already in the core ;-)

Also available in: Atom PDF