-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
- GFM did not support accordion block by default, the workaround solution is using tag to display a disclosure content
- The block should consist of 2 parts
- The title
- The content of the tag, should we use innerBlock, because inside we can display all other content like text and image
- The block will need only the
openattribute for the disclosures content
Reference
TBA
https://togithub.com/WordPress/gutenberg/issues/21584
- Getwid accordion block https://github.com/motopress/getwid/tree/master/src/blocks/accordion/accordion-item
- Kadence block https://github.com/stellarwp/kadence-blocks/blob/93ee9f0bb60ba7f3394e9e1a406db2aca87b868c/src/blocks/accordion/pane/block.js
- Otter block https://github.com/Codeinwp/otter-blocks/tree/master/src/blocks/blocks/accordion/item
- Tiptap Editor with is used in Gitlab https://github.com/ueberdosis/awesome-tiptap
- Gitlab Editor with has detail tag as extension https://gitlab.com/gitlab-org/gitlab/-/tree/master/app/assets/javascripts/content_editor
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Projects
Status
In Progress