"Jahia Community Module with standard HTML5 components"
Proposition to have separate HTML5 (drag&droppable) Jahia components (section, article, ...) to use in Jahia Studio (and maybe Edit mode).
- a generic definitions (html5mix:htmlAttrCustom) to allow to add easily new attributes (aria, role,...)
- a wrapper definition for each HTML5 element that must be instantiable (drag&drop)
- a generic view (htmlAttrCustom.withElement.jsp) that manage the rendering globally nds
The main purpose is to allow designer to identify visually/directly these widely used element and to be able to make a direct drag&drop into their templates.
Other benefits: the name of the component in the Studio correspond to the HTML element dragged (ex: 'section', instead of 'layout&grid' for example) which allow direct verification for designer.
- display inserted tag in Studio view (escaped and syntax colored if possible)
- leave only htmlFragmentStart component with 'opening' tags and "auto-complete" all closing tag element (with HTML Tidy through a Jahia custom validator for exemple?