Insert a A Link

  •  07-29-2008, 4:14 AM

    Insert a A Link

    Hello,
     
    i add a Tab to the Link function, now my problem is, how can i insert the link? in the Editor? Because theres a Iframe , and is there a other way then editor.ExecCommand("insertlink"....)??
     
    When i try to get the Editor with:
     
    var editor = Window_GetDialogArguments(window); 
     
    function Window_GetDialogArguments(win)
        {
            var top=win.top;
            if(top.dialogArguments)
                return top.dialogArguments;
            var opener=top.opener;
            if(opener==null)
                return top.document._dialog_arguments;
            return opener.document._dialog_arguments;
        }
     
    It Doesnt Work, 
     
    When i do this with:
     
    var editor1 = document.getElementById('CE_Editor1_ID');
     
    It also doesnt work?
View Complete Thread