Issue #1061💬 AnsweredOpened April 24, 2018by Deepak8130 reactions

How we can show countdown traits

Quick answerby artf

editor.addComponents('<div data-gjs-type="countdown"></div>') You can create a custom template by relying on data-js identifiers

Read full answer below ↓

Question

Hi artf,

Please let us know how we get the countdown elements in edit mode means when we set the template html using editor.setComponents(templateHTML); then when we click on countdown element it displays the id and title fields not the Endzone and endText fields. I have tried a lot with setting model type as datetime-local but still not succeed.

Please let us know resolve this.

Answers (2)

artfApril 25, 2018

editor.addComponents('<div data-gjs-type="countdown"></div>') You can create a custom template by relying on data-js identifiers

lock[bot]September 17, 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.