Changeset 26942
- Timestamp:
- 01/14/2014 05:51:41 AM (11 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js
r26934 r26942 365 365 } 366 366 } else if ( cmd === 'JustifyLeft' || cmd === 'JustifyRight' || cmd === 'JustifyCenter' ) { 367 // When inside an image caption, set the align* class on dt.wp-caption368 367 node = editor.selection.getNode(); 369 368 align = cmd.substr(7).toLowerCase(); … … 377 376 378 377 if ( DL ) { 378 // When inside an image caption, set the align* class on dl.wp-caption 379 379 if ( dom.hasClass( DL, align ) ) { 380 380 dom.removeClass( DL, align ); … … 387 387 return false; 388 388 } 389 390 if ( node.nodeName === 'IMG' ) { 391 if ( dom.hasClass( node, align ) ) { 392 // The align class is being removed 393 dom.addClass( node, 'alignnone' ); 394 } else { 395 dom.removeClass( node, 'alignnone' ); 396 } 397 } 389 398 } 390 399 }); -
trunk/src/wp-includes/version.php
r26930 r26942 19 19 * @global string $tinymce_version 20 20 */ 21 $tinymce_version = '4012-201401 09';21 $tinymce_version = '4012-20140113'; 22 22 23 23 /**
Note: See TracChangeset
for help on using the changeset viewer.