MDL-45253 editor_atto: selectionFilterMatches includes parents
This commit is contained in:
+1
-1
@@ -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){
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -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
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user