Additional classes `undefined` after saving post in Gutenberg
After about an hour of trial and error, I found that the outmost <Fragment> was the culprit. But I still can’t figure out why! Replacing it with <div> fixed it. So the code looks like this now: edit: (props) => { const {attributes, setAttributes} = props; const headingBgOverlay = Util.getBgOverlay(attributes, ‘heading’); const bodyBgOverlay = Util.getBgOverlay(attributes, … Read more