Completed
Last Updated: 13 Nov 2014 13:03 by Elena
ADMIN
Joana
Created on: 01 Aug 2013 12:41
Category: Editor
Type: Feature Request
0
FIX: Anchor cannot be removed with the Unlink command of the Editor's toolbar in Firefox
A possible workaround:
<rad:RadEditor ID="RadEditor1" runat="server" OnClientCommandExecuted="OnClientCommandExecuted"></rad:RadEditor>
function OnClientCommandExecuted(editor, args) {
                if ("Unlink" == args.get_commandName()) {
                    if ($telerik.isFirefox) {
                        var anchor = editor.getSelectedElement();
                        if (anchor && anchor.nodeName == "A") {
                            Telerik.Web.UI.Editor.Utils.removeNode(anchor);
                        }
                    }
                }
            }  
1 comment
Elena
Posted on: 13 Nov 2014 13:02
Not reproducible in Q3 2014.