Changeset 40112
- Timestamp:
- 02/24/2017 08:51:19 PM (8 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/src/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js
r38796 r40112 383 383 width: width || null, 384 384 height: height || null, 385 alt: imageData.alt,386 385 title: imageData.title || null, 387 386 'class': classes.join( ' ' ) || null … … 389 388 390 389 dom.setAttribs( imageNode, attrs ); 390 391 // Preserve empty alt attributes. 392 editor.$( imageNode ).attr( 'alt', imageData.alt || '' ); 391 393 392 394 linkAttrs = { … … 1027 1029 if ( event.format !== 'raw' ) { 1028 1030 editor.$( 'img[id="__wp-temp-img-id"]' ).attr( 'id', null ); 1029 } 1031 } 1030 1032 }); 1031 1033
Note: See TracChangeset
for help on using the changeset viewer.