xtypo add id to tag

Nice work! It gives me much more than I expect.

Is it possible to add something like:
{xtypo id="some_id" class="some_class1 some_class2"}
some text
{/xtypo}

that translates to appropriate HTML code?

Thank you in advance!
10 years 1 month ago #1 by Dmitry

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5310) Offline
Hi yrat, why would you need that ? Isn't it easier to add the html code directly?
<div id="some_id" class="some_class1 some_class2">
some text
</div>
10 years 1 month ago #2 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Sorry! Wasn't clean enough.

I would like to be able to piggyback to xtypo styles and customize it patially according to element id or add my class to xtypo one.
i.e. write {xtypo_quote id="myid" class="myclass"} and
have (e.g.)
blockquote id="myid" class=" myclass xtypo_quote"
PS: Comment editor constantly eats html code ;(
10 years 1 month ago #3 by Dmitry

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum