code: function blockResizeStart() {
  			var lastListeningElement;
  
  			// We'll attach only one listener at a time, instead of adding it to every img, input, hr etc.
  			// Listener will be attached upon selectionChange, we'll also check if there was any element that
  			// got listener before (lastListeningElement) - if so we need to remove previous listener.
  			editor.editable().attachListener( editor, 'selectionChange', function() {
  				var selectedElement = editor.getSelection().getSelectedElement();
  
  				if ( selectedElement ) {
  					if ( lastListeningElement ) {
  						lastListeningElement.detachEvent( 'onresizestart', resizeStartListener );
  						lastListeningElement = null;
  					}
  
  					// IE requires using attachEvent, because it does not work using W3C compilant addEventListener,
  					// tested with IE10.
  					selectedElement.$.attachEvent( 'onresizestart', resizeStartListener );
  					lastListeningElement = selectedElement.$;
  				}
  			} );
  		}
docs: Disables resizing by preventing default action on resizestart event.