xtypo add id to tag
- Posted by Dmitry (2) Offline
Nice work! It gives me much more than I expect.
Is it possible to add something like:
that translates to appropriate HTML code?
Thank you in advance!
10 years 1 month ago #1
by Dmitry
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!
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?
10 years 1 month ago #2
by TemplatePlazza
<div id="some_id" class="some_class1 some_class2">
some text
</div>
Please Log in or Create an account to join the conversation.
- Posted by Dmitry (2) Offline
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.)PS: Comment editor constantly eats html code ;(
10 years 1 month ago #3
by Dmitry
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"
Please Log in or Create an account to join the conversation.