From 319e576d3826278b1ea22ce6bc16713a2d4e9e9a Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Thu, 5 Aug 2021 09:28:19 +0100 Subject: [PATCH] Fix available alignments and layout for the post editor --- packages/edit-post/src/components/visual-editor/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/edit-post/src/components/visual-editor/index.js b/packages/edit-post/src/components/visual-editor/index.js index eced55ecdc0a8c..db127528120d74 100644 --- a/packages/edit-post/src/components/visual-editor/index.js +++ b/packages/edit-post/src/components/visual-editor/index.js @@ -181,7 +181,7 @@ export default function VisualEditor( { styles } ) { } return undefined; - }, [ isTemplateMode, themeSupportsLayout ] ); + }, [ isTemplateMode, themeSupportsLayout, defaultLayout ] ); return (