Issue #1254💬 AnsweredOpened July 2, 2018by alperenuzun0 reactions

AddType in domcomponent for html conditionals doesn't work grapesjs 0.10.7 version

Quick answerby artf

Hi @alperenuzun we don't support old versions so, please try to update to the latest and check if everything works. By the way, when you add new components be sure to do it from a plugin.

Read full answer below ↓

Question

Hi Artur, First of all, thank you for sharing such a great project :) I want to tell you a problem that I have experienced. You commented below code for addType in #208 issue. I was using grapesjs - v0.5.41 before using grapesjs - v0.10.7 and i wanted to add category structure for blocks in grapesjs newsletter plugin. And then, i realize that grapesjs - v0.10.7 already contained what i want. So, category structure is working very well but, above code doesn't work with grapesjs - v0.10.7 and doesn't include conditional comments. However, it worked with v0.5.41. What is the reason for this? Wha...

Answers (3)

artfJuly 4, 2018

Hi @alperenuzun we don't support old versions so, please try to update to the latest and check if everything works. By the way, when you add new components be sure to do it from a plugin.

alperenuzunJuly 4, 2018

"Plugin" was the answer for me :) In old versions it worked without using plugin. Now, it's working with plugin. Thank you very much for your help.

alperenuzunJuly 6, 2018

Hi @artf I've got another question. Conditional comments are working well but don't look correct on design. This is the code that i used the conditional comments in: This is the design that i used conditional comments in: This is the code that i didn't use conditional comments in: This is the desig...

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.