| jquery Programming Glossary: document.selection.typewindow.getSelection return html [duplicate] http://stackoverflow.com/questions/5222814/window-getselection-return-html 
 Get the Highlighted/Selected text http://stackoverflow.com/questions/5379120/get-the-highlighted-selected-text 
 Insert link in contenteditable element http://stackoverflow.com/questions/5605401/insert-link-in-contenteditable-element  range.START_TO_END range 1   selectedLinks.push links i       linkRange.detach  else if document.selection document.selection.type Control range document.selection.createRange containerEl range.parentElement if containerEl.nodeName.toLowerCase a  selectedLinks.push.. 
 how to get selection inside a div using jquery/javascript http://stackoverflow.com/questions/5801347/how-to-get-selection-inside-a-div-using-jquery-javascript  selRange.endContainer selRange.endOffset   selectedText range.toString    else if typeof document.selection undefined document.selection.type Text var selTextRange document.selection.createRange var textRange selTextRange.duplicate textRange.moveToElementText el.. 
 How to get selected(user-highlighted) text in contenteditable element and replace it? http://stackoverflow.com/questions/6251937/how-to-get-selecteduser-highlighted-text-in-contenteditable-element-and-replac  sel.getRangeAt i .cloneContents   html container.innerHTML  else if typeof document.selection undefined if document.selection.type Text  html document.selection.createRange .htmlText  alert html Code taken from Tim Down Return HTML from a user selection.. 
 Insert html at caret in a contenteditable div http://stackoverflow.com/questions/6690752/insert-html-at-caret-in-a-contenteditable-div  lastNode  range.collapse true  sel.removeAllRanges  sel.addRange range   else if document.selection document.selection.type Control  IE 9 document.selection.createRange .pasteHTML html  UPDATE 21 AUGUST 2013 As requested in the comments here is.. 
 |