Wordpress removes base64 images in visual editor

Christophe

I have a problem in wordpress where images converted to base64 will show up on the website but not in the editor.

After some testing it happens when we switch to the visual editor.

enter image description here

When we view the text mode the image tags appear.

enter image description here

Is there a fix for this? I tried to google but always end up on wordpress support issue from over 3, 4 years ago.

Christophe

I ended up writing a script to generate an image, and save it in the uploads folder, for each base64 image and updated the img tag.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related