- 🇫🇷France pdureau Paris
- Add StyleType plugin type
- Add mechanism to guess default types
- Add StyleWidget plugin type
- Add Widgets plugins: Select, Radio, Checkbox, Number, ColorSelect & Toolbar
- 🇮🇳India Sharique
New widgets will be really helpful.
With new widget options, there is an overlay with layout options in certain scenarios, for example in case of layout paragraphs, we can add same setting either using UI Styles or layout options. - 🇫🇷France pdureau Paris
Hi Sharique, the widgets are only bringing improved UX for existing styling features.
Styles are still list of mutually exclusive options. Each option is still a CSS class.We are not introducing other data types like booleans, integers...
So, if there is an overlap with Layout Options, it must be already the case. Do yo usee it? - 🇮🇳India Sharique
I see overlap in case of layout paragraphs, because we are using extensively. And this is already in a way. Not sure about other scenarios.
Anyway we can revisit this later. - First commit to issue fork.
- Assigned to maboy
@maboy Nice! Thrilled to use this. Does it make sense to review the status quo now?
- 🇫🇷France pdureau Paris
In ✨ Provide more options to drive the display of the UI style form Active vbouchet has proposed:
Alter the default "-None-" option to another label (for example, for a plugin around "Borders", "No border" makes more sense from a contributor standpoint).
Why not... Maybe a new property like this one from Form API:
#empty_option: (optional) The label to show for the first default option. By default, the label is automatically set to "- Select -" for a required field and "- None -" for an optional field.
Let's credit him if we add this feature.