From 6bff063eda79f20eecaf67d83dd2dbfde43395c0 Mon Sep 17 00:00:00 2001 From: Jan Boddez Date: Thu, 15 Feb 2024 16:45:39 +0100 Subject: [PATCH] Update richtext.md Simple typo fix --- docs/reference-guides/richtext.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference-guides/richtext.md b/docs/reference-guides/richtext.md index a203c4d54b7a3b..ec484ac829c1ce 100644 --- a/docs/reference-guides/richtext.md +++ b/docs/reference-guides/richtext.md @@ -81,7 +81,7 @@ If you'd still like to use RichText, you can eliminate all of the formatting opt If you want to limit the formats allowed, you can specify using `allowedFormats` property in your code, see the example above or [the component documentation](https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/rich-text/README.md#allowedformats-array) for details. -### Disable specific fromat types in Editor +### Disable specific format types in Editor The RichText component uses formats to display inline elements, for example images within the paragraph block. If you just want to disable a format from the editor, you can use the `unregisterFormatType` function. For example to disable inline images, use: