Changeset 31787
- Timestamp:
- 03/15/2015 11:28:04 PM (10 years ago)
- Location:
- trunk/src/wp-includes/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/tinymce/plugins/wpemoji/plugin.js
r31786 r31787 24 24 } ); 25 25 26 editor.on( 'input', function( event) {26 editor.on( 'input', function() { 27 27 if ( typing ) { 28 28 return; … … 53 53 replaceEmoji( node ); 54 54 55 // In IE all content in the editor is left selected aft rer wp.emoji.parse()...55 // In IE all content in the editor is left selected after wp.emoji.parse()... 56 56 // Collapse the selection to the beginning. 57 57 if ( tinymce.Env.ie && tinymce.Env.ie < 9 && event.load && node && node.nodeName === 'BODY' ) { … … 61 61 } ); 62 62 63 // Convert Twemoji compatible pasted emoji rep acement images into our format.63 // Convert Twemoji compatible pasted emoji replacement images into our format. 64 64 editor.on( 'PastePostProcess', function( event ) { 65 65 if ( twemoji ) { -
trunk/src/wp-includes/js/wp-emoji.js
r31786 r31787 89 89 /* 90 90 * This works because the image will be one of three things: 91 * - Two empty squares, if the browser doe n't render emoji92 * - Two squares with 'G' and 'B' in them, if the browser doe n't render flag emoji91 * - Two empty squares, if the browser doesn't render emoji 92 * - Two squares with 'G' and 'B' in them, if the browser doesn't render flag emoji 93 93 * - The British flag 94 94 *
Note: See TracChangeset
for help on using the changeset viewer.