Opened 11 years ago

Last modified 11 years ago

#2301 confirmed New Feature

optional ability to remove link by leaving URL empty

Reported by: Paul Moers Owned by:
Priority: Normal Milestone:
Component: UI : Dialogs Version: FCKeditor 2.6.1
Keywords: Cc:

Description

Allow developers to configure whether they want their users to be able to remove a link by leaving the URL empty in the link dialog.

For example a setting 'FCKConfig.LinkDlgRemoveLinkByEmptyURL' could be provided. The contextmenu should also listed to the setting and not show the unlink item when the setting is true; or perhaps another setting should be created to be able to specify this separately; or, yet another option, link and unlink could become separate items that need to be specified individually in FCKConfig.ContextMenu.

Removing the link can be easily done by not alerting an errormessage when the URL is empty but using 'oEditor.FCKUnlinkCommand.prototype.Execute();'. This needs to be done for the lines 493, 506 and 522 in 'editor/dialog/fck_link/fck_link.js'.

Change History (2)

comment:1 Changed 11 years ago by Artur Formella

Keywords: Confirmed added
Priority: NormalLow

comment:2 Changed 11 years ago by Frederico Caldeira Knabben

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