JavaScript for WordPress Forums Gutenberg Development Error with backgroundImage as attribute – can anyone help? Reply To: Error with backgroundImage as attribute – can anyone help?

#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"
		},