From f31f46d049be74f4e02bca5274f4da54f0facd47 Mon Sep 17 00:00:00 2001 From: Rostislav Wolny Date: Tue, 11 Feb 2020 13:54:45 +0100 Subject: [PATCH] Allow drag and drop reordering of blocks in form editor [MAILPOET-2696] --- .../formEditor/components/_block_editor.scss | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/assets/css/src/components/formEditor/components/_block_editor.scss b/assets/css/src/components/formEditor/components/_block_editor.scss index ffd0da2df4..9e1a8495b1 100644 --- a/assets/css/src/components/formEditor/components/_block_editor.scss +++ b/assets/css/src/components/formEditor/components/_block_editor.scss @@ -1,14 +1,3 @@ -// Fix for broken drag and drop for blocks -// This should had been fixed in Gutenberg's master branch -// https://github.com/WordPress/gutenberg/pull/15054 -// It doesn't work even after upgrading to package version with the fix. -// It needs further investigation -.block-editor-editor-skeleton__content { - .block-editor-block-mover__control-drag-handle { - display: none !important; - } -} - // We don't want to allow user to remove Submit or Email. // There is no way to hide the delete button programmatically so we hide last toolbar that contains the delete option // There is a feature request for adding that into Gutenberg https://github.com/WordPress/gutenberg/issues/16364