From 42d5ccacfba6035bac425ec25599703b6fb9391e Mon Sep 17 00:00:00 2001 From: AKSHAT2802 Date: Wed, 4 Sep 2024 19:07:07 +0530 Subject: [PATCH 1/3] Add props for buttons in editor 1 --- packages/editor/src/components/block-manager/index.js | 1 + packages/editor/src/components/editor-history/redo.js | 1 + packages/editor/src/components/editor-history/undo.js | 1 + packages/editor/src/components/error-boundary/index.js | 2 +- packages/editor/src/components/post-excerpt/panel.js | 1 + packages/editor/src/components/post-featured-image/index.js | 3 +++ 6 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/editor/src/components/block-manager/index.js b/packages/editor/src/components/block-manager/index.js index 910eeda4470b0..b3bc1c6f9b0e8 100644 --- a/packages/editor/src/components/block-manager/index.js +++ b/packages/editor/src/components/block-manager/index.js @@ -67,6 +67,7 @@ function BlockManager( { numberOfHiddenBlocks ) } ); diff --git a/packages/editor/src/components/post-excerpt/panel.js b/packages/editor/src/components/post-excerpt/panel.js index 0c800c1a360b9..6a00fe7af58d4 100644 --- a/packages/editor/src/components/post-excerpt/panel.js +++ b/packages/editor/src/components/post-excerpt/panel.js @@ -198,6 +198,7 @@ function PrivateExcerpt() { ref={ setPopoverAnchor } renderToggle={ ( { onToggle } ) => ( ); diff --git a/packages/editor/src/components/post-featured-image/style.scss b/packages/editor/src/components/post-featured-image/style.scss index 3a537471b42f2..eb8baf3b70ebe 100644 --- a/packages/editor/src/components/post-featured-image/style.scss +++ b/packages/editor/src/components/post-featured-image/style.scss @@ -53,7 +53,7 @@ } .editor-post-featured-image__preview { - height: auto; + height: auto !important; outline: $border-width solid rgba($black, 0.1); .editor-post-featured-image__preview-image { From 55ac540b1c4ae9309e14a52581b3dc65a31f6e39 Mon Sep 17 00:00:00 2001 From: AKSHAT2802 Date: Thu, 12 Sep 2024 01:14:27 +0530 Subject: [PATCH 3/3] remove extra class name and extra styles --- packages/editor/src/components/post-excerpt/panel.js | 1 - packages/editor/src/components/post-featured-image/style.scss | 4 ---- 2 files changed, 5 deletions(-) diff --git a/packages/editor/src/components/post-excerpt/panel.js b/packages/editor/src/components/post-excerpt/panel.js index 6a00fe7af58d4..9c09796f46704 100644 --- a/packages/editor/src/components/post-excerpt/panel.js +++ b/packages/editor/src/components/post-excerpt/panel.js @@ -199,7 +199,6 @@ function PrivateExcerpt() { renderToggle={ ( { onToggle } ) => (