test4
- Détails
- Mis à jour le samedi 6 avril 2013 12:27
- Affichages : 2154
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