Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option the use semantic_html5 as a module #4

Open
kikmedia opened this issue May 9, 2012 · 0 comments
Open

Add an option the use semantic_html5 as a module #4

kikmedia opened this issue May 9, 2012 · 0 comments

Comments

@kikmedia
Copy link

kikmedia commented May 9, 2012

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant