mirror of
git://develop.git.wordpress.org/
synced 2025-03-19 11:29:48 +01:00
Emoji: rename the exclude class to wp-exclude-emoji.
Props Clorith. See #32197. git-svn-id: https://develop.svn.wordpress.org/trunk@32337 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
992cc2e796
commit
49626f348a
@ -15,7 +15,7 @@
|
||||
$visualEditor = $(),
|
||||
$textTop = $( '#ed_toolbar' ),
|
||||
$textEditor = $( '#content' ),
|
||||
$textEditorClone = $( '<div id="content-textarea-clone" class="wp-no-emoji"></div>' ),
|
||||
$textEditorClone = $( '<div id="content-textarea-clone" class="wp-exclude-emoji"></div>' ),
|
||||
$bottom = $( '#post-status-info' ),
|
||||
$menuBar = $(),
|
||||
$statusBar = $(),
|
||||
|
@ -70,7 +70,7 @@
|
||||
node = node.parentNode;
|
||||
}
|
||||
|
||||
if ( ! node || ( node.className && node.className.indexOf( 'wp-no-emoji' ) !== -1 ) ) {
|
||||
if ( ! node || ( node.className && node.className.indexOf( 'wp-exclude-emoji' ) !== -1 ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user