search replace tinymce

This commit is contained in:
lealife
2017-11-30 12:22:25 +08:00
parent 21b774143b
commit 98c1589a1a
12 changed files with 48 additions and 7 deletions

View File

@ -890,6 +890,12 @@ a:hover {
.ace_invisible_space { .ace_invisible_space {
visibility: hidden !important; visibility: hidden !important;
} }
.mce-match-marker.mce-match-marker-selected {
background: yellow;
}
#mce-modal-block {
display: none;
}
#editor, #editor,
#mdEditor { #mdEditor {
position: absolute; position: absolute;

View File

@ -7,6 +7,13 @@
visibility: hidden !important; visibility: hidden !important;
} }
.mce-match-marker.mce-match-marker-selected {
background: yellow;
}
#mce-modal-block {
display: none;
}
#editor, #mdEditor{ #editor, #mdEditor{
position: absolute; position: absolute;
z-index: 2; z-index: 2;

View File

@ -890,6 +890,12 @@ a:hover {
.ace_invisible_space { .ace_invisible_space {
visibility: hidden !important; visibility: hidden !important;
} }
.mce-match-marker.mce-match-marker-selected {
background: yellow;
}
#mce-modal-block {
display: none;
}
#editor, #editor,
#mdEditor { #mdEditor {
position: absolute; position: absolute;

View File

@ -890,6 +890,12 @@ a:hover {
.ace_invisible_space { .ace_invisible_space {
visibility: hidden !important; visibility: hidden !important;
} }
.mce-match-marker.mce-match-marker-selected {
background: yellow;
}
#mce-modal-block {
display: none;
}
#editor, #editor,
#mdEditor { #mdEditor {
position: absolute; position: absolute;

View File

@ -890,6 +890,12 @@ a:hover {
.ace_invisible_space { .ace_invisible_space {
visibility: hidden !important; visibility: hidden !important;
} }
.mce-match-marker.mce-match-marker-selected {
background: yellow;
}
#mce-modal-block {
display: none;
}
#editor, #editor,
#mdEditor { #mdEditor {
position: absolute; position: absolute;

View File

@ -117,4 +117,4 @@
writeScripts(); writeScripts();
})(this); })(this);
// $hash: 75083770f38396c70840f96857825cd8 // $hash: ca8d05e7d297c552a86c676132efc1e7

View File

@ -277,7 +277,9 @@
type: 'window', type: 'window',
layout: "flex", layout: "flex",
pack: "center", pack: "center",
align: "center", align: "right",
classes: "find-replace-ctn",
// minWidth: 300,
onClose: function() { onClose: function() {
editor.focus(); editor.focus();
self.done(); self.done();
@ -362,6 +364,9 @@
] ]
} }
}).renderTo().reflow(); }).renderTo().reflow();
// 立即到最右
win.moveTo($('body').width()-$('.mce-find-replace-ctn').width(), 60)
} }
self.init = function(ed) { self.init = function(ed) {

File diff suppressed because one or more lines are too long

View File

@ -220,4 +220,4 @@
writeScripts(); writeScripts();
})(this); })(this);
// $hash: 2cdc2f46f7abcdac7680091d5bb95656 // $hash: 1a530a181619b25217d05b67f76c5da9

View File

@ -42455,7 +42455,9 @@ expose(["tinymce/pasteplugin/Utils","tinymce/pasteplugin/WordFilter"]);
type: 'window', type: 'window',
layout: "flex", layout: "flex",
pack: "center", pack: "center",
align: "center", align: "right",
classes: "find-replace-ctn",
// minWidth: 300,
onClose: function() { onClose: function() {
editor.focus(); editor.focus();
self.done(); self.done();
@ -42540,6 +42542,9 @@ expose(["tinymce/pasteplugin/Utils","tinymce/pasteplugin/WordFilter"]);
] ]
} }
}).renderTo().reflow(); }).renderTo().reflow();
// 立即到最右
win.moveTo($('body').width()-$('.mce-find-replace-ctn').width(), 60)
} }
self.init = function(ed) { self.init = function(ed) {

File diff suppressed because one or more lines are too long

View File

@ -220,4 +220,4 @@
writeScripts(); writeScripts();
})(this); })(this);
// $hash: eabdc6a2088c313dc5540a41f4402051 // $hash: 866135797173d9dab8feb7d58a0be68e