Hi,
I am writing a plugin that bypasses the dialog command. I am able to grab the selected text in the popup from the editor by using...
... but I would like to pass the html source of the selected text, not just the text itself... for example... if i'm passing in a link, i would like to pass the underlying href that is associated with the anchor tag.
Thanks in advance.
I am writing a plugin that bypasses the dialog command. I am able to grab the selected text in the popup from the editor by using...
var FCK = window.opener.FCK; var sSelected = FCK.EditorWindow.getSelection();
... but I would like to pass the html source of the selected text, not just the text itself... for example... if i'm passing in a link, i would like to pass the underlying href that is associated with the anchor tag.
Thanks in advance.
Re: Pass selected html source to popup window
I am unable to grab the selected text in the popup from the editor.
Could you tell me the procedure?
Thanks.