Opened 7 years ago

Closed 4 years ago

#9973 closed Bug (invalid)

Auto update link when text is the same as mailto and href and valid email address

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Cc:

Description (last modified by Jakub Ś)

This request was made based on http://dev.ckeditor.com/ticket/9955#comment:6

Would it be possible to add this as a configurable feature? If the link is of type "mailto" and the text is a valid and same email address then update the mailto link to match the email address. This would help prevent the issue where the two don't match.

In short when text of the link is changed mailto and href should be updated when configuration is enabled.

  1. Perhaps href should also be taken into consideration.
  2. Please note that IE has autolinking feature. If link was made by IE then all chnages in link are reflected in href and mailto attributes. This is only true when you don't switch to source mode. After you do that link is no longer auto updated.

Please also see: ​http://dev.ckeditor.com/ticket/9955#comment:3

Change History (3)

comment:1 Changed 7 years ago by Jakub Ś

Status: newconfirmed

comment:2 Changed 4 years ago by Jakub Ś

Description: modified (diff)

comment:3 Changed 4 years ago by Jakub Ś

Resolution: invalid
Status: confirmedclosed

We plan to implement ticket #11277 for which the solution contradicts to what was written here. We plan to separate link text from link href thus autoupdating the href when text (if they are the same) is updated would only complicate things.

Another reason for closing this ticket is that once #11277 is implemented, user could hook into dialog onOpen event and copy text value to href value if he needs it.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy