Modifying CSS on an imported plugin - (newsletter) #5248
Unanswered
clevesquedev
asked this question in
Q&A
Replies: 1 comment
-
If the block contains that CSS you can always update its content programmatically // Get the Block
const block = bm.get('BLOCK-ID');
// Update the Block properties
block.set({
content: '...new content...',
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the grapesjs newsletter plugin to help our application create email templates for our customers.
Since the newsletter imports in it's own blocks, is there a way to modify the CSS base of these blocks?
for instance the button block comes with a ".button" class which is
.button {
padding-top: 30px;
padding-right: 0px;
padding-bottom: 30px;
padding-left: 0px;
}
Is there a way to override these css values that the button block inherits from the plugin?
Beta Was this translation helpful? Give feedback.
All reactions