Issue #2164💬 AnsweredOpened July 24, 2019by CimattiConsulting0 reactions

How to overwrite classes manager?

Quick answerby artf

Is there a way to modify the attribute where the classes are placed? (default: class) Not really, the only thing you can do now is to extend methods from base components. This is where is assigned in the model (used in the final HTML code) https://github.com/artf/grapesjs/blob/02ceecc87dc2116435cab1c65014fab7d6a05293/...

Read full answer below ↓

Question

Hi @artf , Is there a way to modify the attribute where the classes are placed? (default: class) is there also a way to change the position and tag of the styles? (default: <style>)

Answers (1)

artfJuly 25, 2019

Is there a way to modify the attribute where the classes are placed? (default: class) Not really, the only thing you can do now is to extend methods from base components. This is where is assigned in the model (used in the final HTML code) https://github.com/artf/grapesjs/blob/02ceecc87dc2116435cab...

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 →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.