Prior to WordPress 5, I could add a border around an image easily by switching to the HTML editor and adding
style="border: 1px solid #ffffff"to the
imgtag. There was also, at least at some point although I don’t remember if it was there in the last version before WordPress 5, an advanced image properties editor you could use to edit the attributes of the image, and specify the border there.
Now there’s no advanced image properties editor, and if I try to add a
styleattribute to an image the block editor complains that it doesn’t recognize what I added and wants to remove it.
This shouldn’t be hard. I just want to add a border to a specific image in a specific blog posting. How do I do that?
- The topic ‘Images around borders in WordPress 5 (block editor)’ is closed to new replies.