Changeset 26934
- Timestamp:
- 01/13/2014 01:12:20 AM (11 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r26899 r26934 313 313 'entity_encoding' => 'raw', 314 314 'menubar' => false, 315 'object_resizing' => false,316 315 'keep_styles' => false, 317 316 'paste_remove_styles' => true, -
trunk/src/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js
r26900 r26934 332 332 }); 333 333 334 editor.on( 'ObjectResized', function( event ) { 335 var parent, 336 node = event.target; 337 338 if ( node.nodeName === 'IMG' && ( parent = editor.dom.getParent( node, '.wp-caption' ) ) ) { 339 editor.dom.setStyle( parent, 'width', 10 + event.width + 'px' ); 340 } 341 }); 342 334 343 editor.on( 'BeforeExecCommand', function( e ) { 335 344 var node, p, DL, align,
Note: See TracChangeset
for help on using the changeset viewer.