MDL-45253 editor_atto: selectionFilterMatches includes parents

This commit is contained in:
Frederic Massart
2014-05-05 17:46:13 +08:00
parent 3917871e90
commit d78920bdba
4 changed files with 4 additions and 4 deletions
@@ -1097,7 +1097,7 @@ EditorSelection.prototype = {
var editor = this.editor,
stopFn = function(node) {
return editor.contains(node);
return !editor.contains(node);
};
selectednodes.each(function(node){
File diff suppressed because one or more lines are too long
@@ -1092,7 +1092,7 @@ EditorSelection.prototype = {
var editor = this.editor,
stopFn = function(node) {
return editor.contains(node);
return !editor.contains(node);
};
selectednodes.each(function(node){
+1 -1
View File
@@ -204,7 +204,7 @@ EditorSelection.prototype = {
var editor = this.editor,
stopFn = function(node) {
return editor.contains(node);
return !editor.contains(node);
};
selectednodes.each(function(node){