#2301: optional ability to remove link by leaving URL empty -----------------------------+---------------------------------------------- Reporter: saul11 | Type: New Feature Status: new | Priority: Normal Milestone: | Component: UI : Dialogs Version: FCKeditor 2.6.1 | Keywords: -----------------------------+---------------------------------------------- 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'. -- Ticket URL: <http://dev.fckeditor.net/ticket/2301> FCKeditor <http://www.fckeditor.net> The text editor for Internet ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ FCKeditor-Trac mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fckeditor-trac
