Details block: Remove the hard-coded empty array in allowedFormats #68738
Labels
[Block] Details
Affects the Details Block - used to display content which can be shown/hidden
[Status] In Progress
Tracking issues with work in progress
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
The summary tag of the Details block has an empty array hard-coded in allowedFormats.
gutenberg/packages/block-library/src/details/edit.js
Line 89 in aec60be
If allowedFormats is set, customization from the plugin is not possible.
Please add a hook or remove allowFormat so that Format can be used.
similar: #67559
I was unable to confirm the reason, but all formats were disabled in allowFormat from the beginning when the block was added.
#45055
#49808
What is your proposed solution?
Remove the
allowedFormats={ [] }
Labels
[Block] Details
[Type] Enhancement
The text was updated successfully, but these errors were encountered: