This can be solved by changing the serendipity_editor.js:
Code: Select all
function wrapSelection(txtarea, lft, rgt) {
if (document.all) {
IEWrap(txtarea, lft, rgt);
} else if (document.getElementById) {
mozWrap(txtarea, lft, rgt);
}
}
Code: Select all
function wrapSelection(txtarea, lft, rgt) {
var scrollPos = txtarea.scrollTop;
if (document.all) {
IEWrap(txtarea, lft, rgt);
} else if (document.getElementById) {
mozWrap(txtarea, lft, rgt);
}
txtarea.focus();
txtarea.scrollTop = scrollPos;
}
sincerely