Added TinyMCE editor functions & Updated TinyMCE to TinyMCE-jQuery 3.4b1

This commit is contained in:
Deon George
2011-01-07 17:56:20 +11:00
parent a862249fed
commit ad5b674d22
1224 changed files with 50965 additions and 50821 deletions

View File

@@ -42,6 +42,10 @@ var SearchReplaceDialog = {
ca = f[m + '_panel_casesensitivebox'].checked;
rs = f['replace_panel_replacestring'].value;
if (tinymce.isIE) {
r = ed.getDoc().selection.createRange();
}
if (s == '')
return;
@@ -75,6 +79,10 @@ var SearchReplaceDialog = {
r.select();
replace();
fo = 1;
if (b) {
r.moveEnd("character", -(rs.length)); // Otherwise will loop forever
}
}
tinyMCEPopup.storeSelection();
@@ -102,6 +110,10 @@ var SearchReplaceDialog = {
se.collapse(b);
r = se.getRng();
if (tinymce.isIE) {
r = ed.getDoc().selection.createRange();
}
// Whats the point
if (!s)
return;