Closed hvelarde closed 7 years ago
We should add a sensible default fallback icon in Plone-Fontello (like #1233) and then allow addons to configure the portal_action's icon_expr
to override it (like in #1236).
Not sure what would be the general feeling about this but we could even detect if its value is an unicode codepoint (e.g. '\e80a') - and thus override ::before with an in-page style - or an SVG/PNG (which might require an additional class in the markup to hide the fallback icon).
i'd really love to see svg support using actions icon expressions
A default icon has been added in 5.0.x and 5.1, a default content type icon has been added to the toolbar menu as well.
I have a content type with an action called Update; the action is only visible on the expanded toolbar:
With the toolbar collapsed the action is only visible when I hover on it: