Catrope has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/175190

Change subject: Blacklist all VisualEditor contentEditables, not just the main 
one
......................................................................

Blacklist all VisualEditor contentEditables, not just the main one

With the introduction of table editing support, ULS is now activating
on table cells, which have contentEditable=true, but do not have
the ve-ce-documentNode class. So instead, expand the blacklist to
include all descendants of .ve-ce-surface.

Change-Id: I974d7ab2726bbe15606f43d7713627eed623435e
---
M UniversalLanguageSelector.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UniversalLanguageSelector 
refs/changes/90/175190/1

diff --git a/UniversalLanguageSelector.php b/UniversalLanguageSelector.php
index 47e6b03..4d57274 100644
--- a/UniversalLanguageSelector.php
+++ b/UniversalLanguageSelector.php
@@ -154,7 +154,7 @@
  *
  * @since 2013.07
  */
-$GLOBALS['wgULSNoImeSelectors'] = array( '#wpCaptchaWord', 
'.ve-ce-documentNode' );
+$GLOBALS['wgULSNoImeSelectors'] = array( '#wpCaptchaWord', '.ve-ce-surface *' 
);
 
 /**
  * Array of jQuery selectors of elements on which webfonts must not be applied.

-- 
To view, visit https://gerrit.wikimedia.org/r/175190
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I974d7ab2726bbe15606f43d7713627eed623435e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector
Gerrit-Branch: master
Gerrit-Owner: Catrope <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to