Esanders has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/380539 )

Change subject: Set bounding element to full frame for MW images
......................................................................

Set bounding element to full frame for MW images

Logically depends on Iea800132.

Bug: T176646
Change-Id: Ia08dbb4400400990e1e518bc47afd5d60795c736
---
M modules/ve-mw/ce/nodes/ve.ce.MWImageNode.js
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/39/380539/1

diff --git a/modules/ve-mw/ce/nodes/ve.ce.MWImageNode.js 
b/modules/ve-mw/ce/nodes/ve.ce.MWImageNode.js
index 04e8a44..cbcd7b5 100644
--- a/modules/ve-mw/ce/nodes/ve.ce.MWImageNode.js
+++ b/modules/ve-mw/ce/nodes/ve.ce.MWImageNode.js
@@ -22,7 +22,8 @@
 ve.ce.MWImageNode = function VeCeMWImageNode( $focusable, $image, config ) {
        config = ve.extendObject( {
                enforceMax: false,
-               minDimensions: { width: 1, height: 1 }
+               minDimensions: { width: 1, height: 1 },
+               $attachable: this.$element
        }, config );
 
        // Properties

-- 
To view, visit https://gerrit.wikimedia.org/r/380539
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia08dbb4400400990e1e518bc47afd5d60795c736
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Esanders <esand...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to