Where the id class is automatically add in the code ?
Question
Hi artf, where in the code do you transform this exemple This
<a href="test" style="font-weight :bold;">
To this
<a href="test" id="#c41">
Just want to find how you delete the style="" and transform it to an id="#c54" by the model id :p i want to change the code to disable this Thanks
Answers (0)
No answers yet.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1915
grapesjs strips entities (mostly inserted by CKEditor)
Hi @artf , We have just noticed that, if you import this code into grapesjs: <label class="c3100 c3152 c3212" style="box-sizing: border-box...
Issue #1821
[QUESTIONS] How to apply the style changes to the ID instead of the class?
Hi, I have two elements with the same classes. I want to apply style changes with style manager to one of these two elements. I add ID but...
Issue #1534
Update property Input value from model style.
@artf I want to update height of the element and want to give a custom height using following code It's working fine and it's update the se...
Issue #1471
[Question] Blockmanager and Image
Hi! I use this code to add a new block: blockManager.add("image", { label: 'Image', category: 'Basic', attributes: { class: "gjs-fonts gjs-...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.