Specify the content and type for block
Question
when i just set the content like this:
Everything is all right.
But when I also specify the type,
there will be a extra label.can you help me?
Answers (2)
Add the type via attribute data-gjs-type="input_box"
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.
Issue #1175
How to modify the content of the added block
sorry,I created a type for button and I don't know how to change the content of the button.thanks so much!!
Issue #1205
create block for charts
hi,First of all, I wish you a happy life.i have created a block for charts like: I don't know how to get chart from my block.Global variabl...
Issue #1171
how to change the content
hi ,Thank you for your advice on the previous question.but when i change the content ,there will be a extra table.can you tell me which met...
Issue #1870
[QUESTIONS] set data-gjs-type in tag i (Why iscomponent not working)
when i add block(tag i), data-gjs type is "I" (there is no problem from the trait that I made) i'm have trait but if save and reload, data-...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →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.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.