Bug in Set Style Property when property is background or background-image

There is a bug in PG when adding a php code in any element and select style property and type the image url it doesn’t add it like this

background-image: url(path);
background: url(path);
it adds it like this

background-image: path;
background:path;

so this is bug in PG WP kindly check it and make a future update fix for it.

It’s not really a bug. PG doesn’t know what the PHP code will output - will url() be included in that or not.

Let’s say you want to set $image_url to the background property. Then set the code to 'url(\''.$image_url.'\')'