You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we create a custom block and enable the spacing options for the custom block the spacing styles are added twice in the Gutenberg editor.
In the screenshot above you see the padding stylings are added two times. If we remove style="{{ $block->inlineStyle }}" from the block view file it looks good in the editor but then on the front-end the spacing styles are not being showed.
Hi all,
When we create a custom block and enable the spacing options for the custom block the spacing styles are added twice in the Gutenberg editor.
In the screenshot above you see the padding stylings are added two times. If we remove
style="{{ $block->inlineStyle }}"
from the block view file it looks good in the editor but then on the front-end the spacing styles are not being showed.I did fix it now by using:
But I don't think this is the best solution to fix this issue.
The text was updated successfully, but these errors were encountered: