Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add required boolean option to Autotoc tabs #695

Open
davilima6 opened this issue Aug 6, 2016 · 1 comment
Open

Add required boolean option to Autotoc tabs #695

davilima6 opened this issue Aug 6, 2016 · 1 comment

Comments

@davilima6
Copy link
Member

davilima6 commented Aug 6, 2016

The goal is feature parity with Plone 4.x, which by default displays a required icon in tabs that contain required fields.

It could be done by copying existing classes from level elements to tabs (.autotoc-nav a) -- and then updating the existing CSS selector, since pre-p.a.widgets one relies on an extra span.

However if we do it so generically, instead of required I wonder if we shouldn't we call this option classLevelCopyOrigin, copyOriginalLevelsClasses or something clearer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants