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
This commit is contained in:
Roan Kattouw
2014-11-21 18:59:10 -08:00
committed by Jforrester
parent 3ff6bfa5e6
commit 81ecac9a5d

View File

@@ -154,7 +154,7 @@ $GLOBALS['wgULSImeSelectors'] = array(
* *
* @since 2013.07 * @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. * Array of jQuery selectors of elements on which webfonts must not be applied.