Issue #954πŸ’¬ AnsweredOpened March 15, 2018by nicolaskern0 reactions

Drag&drop of button on demo has additional css attributes

Quick answerby artf

The source of the demo is here https://github.com/artf/grapesjs/blob/gh-pages/demo-newsletter-editor.html

Read full answer below ↓

Question

Hi,

On the newsletter demo, when drag&dropping a button, some additional css attributes are added to the <a>. It seems like they come from the <style> defined on the same page, but I can't get it working on my implementation.

Is there any special configuration to put?

Thanks, Nicolas

Answers (3)

nicolaskernβ€’ March 19, 2018

Hi,

I actually already have spent time analyzing the source code of the page, and there is - for me - no reason not to have the CSS put in the <a> when I drag&drop it. I couldn't find any override of the component, or anything saying to use that very CSS.

Thanks, Nicolas

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.