JavaScript for WordPress › Forums › Gutenberg Development › Error with backgroundImage as attribute – can anyone help? › Reply To: Error with backgroundImage as attribute – can anyone help?
March 13, 2018 at 6:22 am
#43112
theitteam
Participant
Ooops I figured it out, i was trying to extract the background image with selectors but there is no need, changed my attributes to this:
beforeImgURL: {
type: "string",
},
beforeImgID: {
type: "number"
},