Does anyone use custom HTML tags? I tested it on the site - it works for me
A very interesting way of marking up. And useful.
For example, when specifying such tags, you can remove IDs and Classes from the code. It will be much cleaner, more convenient and semantically correct.
If you use a unique tag for an element, then all CSS styles can be applied to it. In this case, you can remove the id and classes of the element from the markup. As a result, the code will look much cleaner and more compact.
This is one of the possible applications. I always support the idea of simplicity and conciseness
Okay, I like the idea, I’m not questioning that. What I meant was what is the specific feature request for Bricks to implement with this? It feels very open ended what to do in bricks so I don’t think it would gain traction. Like in the builder, what would you want to see to do it?
Maybe an option where you might click to edit id, it’s an option to remove id and enter custom htm tag? That way the tag is visible in the box where we currently see the id or class?
Maybe an option to add some of our own custom html tags to the existing dropdown set? And something like the class manger to mange these custom html tags?
Or what kind of implementation are you looking for in the builder to better accomplish this?
Although Bricks already allows you to set custom HTML tag on almost every element . Last thing you need is to get your hands dirty and write css for your custom tags in stylesheet. So teoretically you are able to do this now without any Bricks modifications.
Maybe implementation should be, apply styling to that custom tag natively in bricks. Now when you make your custom tag you can style with Class or ID via Bricks.
Sounds like easy condition to add to Bricks. If you have custom tag, styling will be generated to custom tag. Sounds easy but I think there may or will be something tricky there of course.