From eb4c52278b83d2f5433e383c864bd1c2c5872c57 Mon Sep 17 00:00:00 2001 From: caxco93 Date: Mon, 17 Sep 2018 00:02:33 -0500 Subject: [PATCH 1/7] Added Draggable handle to Gallery Images --- packages/block-library/src/gallery/edit.js | 12 +++--- .../block-library/src/gallery/editor.scss | 12 ++++++ .../src/gallery/gallery-image.js | 40 ++++++++++++++----- 3 files changed, 50 insertions(+), 14 deletions(-) diff --git a/packages/block-library/src/gallery/edit.js b/packages/block-library/src/gallery/edit.js index ae9e54d8be27d..ce4887e7f6fce 100644 --- a/packages/block-library/src/gallery/edit.js +++ b/packages/block-library/src/gallery/edit.js @@ -154,7 +154,7 @@ class GalleryEdit extends Component { } render() { - const { attributes, isSelected, className, noticeOperations, noticeUI } = this.props; + const { attributes, isSelected, className, noticeOperations, noticeUI, clientId } = this.props; const { images, columns = defaultColumnsNumber( attributes ), align, imageCrop, linkTo } = attributes; const dropZone = ( @@ -238,20 +238,22 @@ class GalleryEdit extends Component { { noticeUI }