From 9064b76b12bb907826ebcb24fae8721abbc07296 Mon Sep 17 00:00:00 2001 From: mburridge Date: Tue, 28 Mar 2023 14:59:43 +0100 Subject: [PATCH] Adds message about usage of block-editor components --- packages/block-editor/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/block-editor/README.md b/packages/block-editor/README.md index 18c2c2cfbce521..980d70b4108736 100644 --- a/packages/block-editor/README.md +++ b/packages/block-editor/README.md @@ -76,6 +76,10 @@ registerCoreBlocks(); ## API +Any components in this package that have a counterpart in [@wordpress/components](/packages/components/README.md) are an extension of those components. + +Unless you're [creating an editor](docs/how-to-guides/platform/custom-block-editor/README.md), it is recommended that the components in @wordpress/components should be used rather than the ones in this package as these components have been customized for use in an editor and may result in unexpected behaviour if used outside of this context. + ### AlignmentControl