so what i am using below i should change designPanel._getSelection(); to something else?
var editor = $find(control);
var editPanel = AjaxControlToolkit.HTMLEditor.LastFocusedEditPanel;
var designPanel = editPanel.get_activePanel();
// Ensure focus in design panel
var selection = designPanel._getSelection();
View Complete Post