test4

Appréciation moyenne:  / 1
Très mauvaisTrès bien 

gjcgckgjcgjkcg jhcjhchj jhcfhchj

// ----------------------
function donne_selection()
{
 var selection = "";
 FCK.Selection.MoveToAncestorNode('p');
 if(oEditor.FCK.EditorDocument.selection == null)
 {
 selection = oEditor.FCK.EditorWindow.getSelection(); // after this, won't be a string
 selection = "" + selection; // now a string again
 }
 else
 {
 selection = oEditor.FCK.EditorDocument.selection.createRange().text;
 }
 return selection;
}
// ----------------------

 

hgckgcgcgj kgvhklflhfv 

et un test sur jlink Virtuemart et ses variables globales tests deux coloration fckeditor