From c655ceac9efa4abe231de3b012a4ffacfcc7e842 Mon Sep 17 00:00:00 2001 From: PatrikKozak <35232443+PatrikKozak@users.noreply.github.com> Date: Mon, 13 Feb 2023 22:30:04 -0500 Subject: [PATCH] chore: richtext p tag reference (#2085) --- .../components/forms/field-types/RichText/plugins/withHTML.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/admin/components/forms/field-types/RichText/plugins/withHTML.tsx b/src/admin/components/forms/field-types/RichText/plugins/withHTML.tsx index 56b9841309..0a6ecbcf33 100644 --- a/src/admin/components/forms/field-types/RichText/plugins/withHTML.tsx +++ b/src/admin/components/forms/field-types/RichText/plugins/withHTML.tsx @@ -12,6 +12,7 @@ const ELEMENT_TAGS = { H6: () => ({ type: 'h6' }), LI: () => ({ type: 'li' }), OL: () => ({ type: 'ol' }), + P: () => ({}), PRE: () => ({ type: 'code' }), UL: () => ({ type: 'ul' }), };