Skip to content

Commit df9cf0c

Browse files
nani-samireddynani-samireddyMamadukat-hamano
authored andcommitted
Accordion: use withoutInteractiveFormatting instead of hardcoded formats (WordPress#71745)
Co-authored-by: nani-samireddy <nanisamireddy@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org>
1 parent c97b55f commit df9cf0c

File tree

1 file changed

+1
-6
lines changed
  • packages/block-library/src/accordion-header

1 file changed

+1
-6
lines changed

packages/block-library/src/accordion-header/edit.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,7 @@ export default function Edit( { attributes, setAttributes, context } ) {
8282
} }
8383
>
8484
<RichText
85-
allowedFormats={ [
86-
'core/bold',
87-
'core/italic',
88-
'core/image',
89-
'core/strikethrough',
90-
] }
85+
withoutInteractiveFormatting
9186
disableLineBreaks
9287
tagName="span"
9388
value={ title }

0 commit comments

Comments
 (0)