-
Notifications
You must be signed in to change notification settings - Fork 19
Blue Print Grid title field
Onging discussion:
After some discussion we just may change the header fields label to ensure, that noone will use it as header field actually, if it is not rendered. This includes removing the style attributes in the header palette.
Some gridelements render the title field, most do not.
The gridelements that are rendering the field usually need a header to be fully working, i.e. you will need a header for a modal to be labelled correctly. The gridelements that don't render the field are usually not supposed to do it, i.e. there must be no header directly within a "row" element unless there is a "column" element that will contain that header.
Some users use the title field for communication with the editor, f.e. to give the structure a name, that is visible in the backend only.
- titles of structural grids should be hidden by default (can be done with the new content element wizard)
- titles of structural grids can be enabled with the header type selector
- an upgrade wizard can easily do the transition of the header field from default to hidden
- title fieldis hidden if not rendered
###column / modal
- header should be rendered in the column
- a header within a column should be done with a header element
- headers should be rendered before the row
- but if they are rendered before the grid element, they will not get any of the variants, behaviours and responsiv settings, since these are applied via CSS classes of that grid element.
Please use the lines below for collecting pro and contra
- typical and consistent behaviour for all elements
- headers can be used on all elements
- breaking change
- headers can be used on all elements (even those, that must not have a header)
- users who changed that might get some hidden captions
- a structural-element would become a content-element as well
- It is not clearly defined, where headers will appear as soon as they are "activated" by an editor, so they might break Bootstrap structures