Skip to content

[FEAT] HTML Disclosure Tags in TinyMCE (aka Details and Summary) #3672

@ajplopez

Description

@ajplopez

This Feature is About

[x] edit experience / UI

Feature request

It would be amazing if Content Editors could use TinyMCE to add "disclosure tags" (known as Accordions within TinyMCE). Here's a screenshot of how they look and behave:

Image

Is your feature request related to a problem? Please describe.
Content editors love using HTML Disclosure tags (details and summary) as it gives them a quick way to create accordions within the rich text editor. Currently they have to learn HTML and edit via the Source Code window in TinyMCE to do that. Adding in

Describe the solution you'd like
Update TinyMCE within 2sxc so that it uses the Accordion component. You can see resources here:

  1. https://www.tiny.cloud/blog/add-accordion-component/
  2. https://www.tiny.cloud/docs/tinymce/latest/accordion/

Describe alternatives you've considered
Only alternative is that the user learns HTML which isn't a great solution.

Additional context
Jeremy and Daniel and I chatted about this on Discord already and Daniel likes the idea :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions