Issue #865💬 AnsweredOpened February 14, 2018by byeonggukang0 reactions

How can I set default tagName

Quick answerby artf

You can change the tagName of any component, at any moment, in this way: You can also change it at the component level, in this way any new one of its type will get it by definition. Read more about Components and how to extend them. Basically, you would create/extend a component with a custom tagName in this way:

Read full answer below ↓

Question

Hi ! I want to set tagName tr for all components(or specific component in use). Is there any predefined function to set tagName ?

Answers (3)

artfFebruary 18, 2018

You can change the tagName of any component, at any moment, in this way: You can also change it at the component level, in this way any new one of its type will get it by definition. Read more about Components and how to extend them. Basically, you would create/extend a component with a custom tagN...

byeonggukangFebruary 19, 2018

works great! thanks @artf

Is there any way to change wrapper's tagName also?

lock[bot]September 18, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.