Skip to content

Add an option the use semantic_html5 as a module #4

@kikmedia

Description

@kikmedia

On creating semantic structured sites sometimes it would be useful to wrap modules in page layouts with structural elements like

, and so on.

Doing that it would be a huge improvement wrapping modules optionally in some semantic markup, i.e. making some kind of wrapper which capsules a frontend module.

In my opinion, the output should look like that:

<semantic_element ID="foo" class="bar">
<module specific code>
do something
</module specific code>
</semantic_element>

At the moment I'm not quite sure how to code this.

Ideally there should be a checkbox 'wrap in semantic element' followed by a sub palette providing a select box (for the element) and two fields for CSS #id and .class.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions