I found the error that just do not know if it's my problem.
The point is that the following code works for chrome, opera and firefox but not IE.
The problem is that I keep the text selceccion before opening a dialogue with jquery. Pressing the save button user should retrieve the selected text. This does not work well for IE.
the example of code:
savedSel = rangy.saveSelection();
$('#myDialog).dialog({
buttons: {
"Save": function () {
if (savedSel) {
rangy.restoreSelection(savedSel, true);
}
});
Once again, thanks for your library!!
El sábado, 30 de marzo de 2013 18:21:29 UTC+1, Tim Down escribió: