From 81ecac9a5d999aed5b0d68e9e01a54c0bd614bc9 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Fri, 21 Nov 2014 18:59:10 -0800 Subject: [PATCH] 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. Bug: 72824 Change-Id: I974d7ab2726bbe15606f43d7713627eed623435e --- UniversalLanguageSelector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UniversalLanguageSelector.php b/UniversalLanguageSelector.php index 47e6b031..4d57274d 100644 --- a/UniversalLanguageSelector.php +++ b/UniversalLanguageSelector.php @@ -154,7 +154,7 @@ $GLOBALS['wgULSImeSelectors'] = array( * * @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.