Issue #1307Opened July 23, 2018by Abhisheknanda13444630 reactions

Question: To stop dynamically generated classes in grapes Editor

Question

Hi @artf is there any Way to stop dynamically generating classes on reloading editor. let say when i add my custom class i.e "my_class" to two elements. whenever i am adding style to the element, it is reflecting in both the elements. but after reloading editor it generates class dynamically again. I want to stop that dynamically generating class for the elements.

Answers (3)

AnkitKachhadiyaJuly 23, 20180 reactions

hey @Abhisheknanda1344463 Can you try this code editor.CssComposer.getAll().reset();

Abhisheknanda1344463July 25, 20180 reactions

@AnkitKachhadiya Hey I want to Stop dynamic classes Which is generatred every time when you refresh page.

artfJuly 26, 20180 reactions

@Abhisheknanda1344463 This should explain you some stuff https://jsfiddle.net/szLp8h4n/267/ Please @Abhisheknanda1344463, next time, create a demo for this kind of questions

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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.