viewtopic.php?f=6&t=1750&p=4323&hilit=+dialog+placeholder#p4323
var eSelected = FCK.Selection.MoveToAncestorNode( 'A' ) if ( eSelected ) FCK.Selection.SelectNode( eSelected ) ; alert(eSelected.innerText); // returns "undefined"
http://wiki.fckeditor.net/Developer%27s ... script_API
Working with the selection in the editor: Use the Selection Object, see https://sourceforge.net/forum/forum.php ... _id=257180 link=dead

[SOLVED]Help on selection, and a little polemic on documenta
function LoadSelected() { if (!eSelected) { return ; } if (document.all) { innerText = FCK.EditorDocument.selection.createRange().text; } else { innerText = FCK.EditorWindow.getSelection(); } document.getElementById('txtHref').value = eSelected.href ; document.getElementById('txtCaption').value = innerText; }