I'm using summernote as text editor and when I add an image it adds to it the text style= "width: ***px;" (the * are numbers). This causes problems when I change the window size. I want to replace width: ***px for 100% using PHP. Is there any wildcard I can use with str_ireplace?
for ex add the image car.jpg summernote adds it like:
<img src="/images/car.jpg" style= "width:750px;">
what i want:
<img src="/images/car.jpg" style= "width:100%;">
or just remove all the style part.
 
    