mockup icon indicating copy to clipboard operation
mockup copied to clipboard

Non-unique ids in Theming Controlpanel

Open me-kell opened this issue 1 year ago • 1 comments

The "Theming Controlpanel" (aka. "Theme settings") has two levels of nav-elements with non-unique ids.

    1. level: autotoc-item-autotoc-0, autotoc-item-autotoc-1
    1. level: autotoc-item-autotoc-0, autotoc-item-autotoc-1, autotoc-item-autotoc-2

The given anchors are also non-unique (see href attributes). It is not possible to properly access the elements via a url with anchor.

I'd suggest to change the 2. level ids to something like autotoc-item-autotoc-1-0, autotoc-item-autotoc-1-1, autotoc-item-autotoc-1-2

In which repository should I post an issue?

For more details and an image see this issue and the comments.

Plone - Theme settings

me-kell avatar Nov 21 '22 13:11 me-kell