Skip to content

Autotoc removes markup in tabs #642

@jensens

Description

@jensens

I tried to include markup in the tabs, such as an thumb of an image. But at https://github.com/plone/mockup/blob/master/mockup/patterns/autotoc/pattern.js#L128 only the contained text is copied over.

I agree that this is in some situations a feature, in others not.

I propose to add an option rich or markup and set its by default to false, so current behavior is kept, but can be overridden in cases this is needed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions