Skip to content

JahiaCommunity/html5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jahia Community logo

html5

"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).

Organization:

definitions:

  • 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)

views:

  • a generic view (htmlAttrCustom.withElement.jsp) that manage the rendering globally
  • nds

GOAL:

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.

TODO:

  • 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?