Skip Navigation

[Resolved] Image inserted in WYSIWYG field is not save

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 0 replies, has 1 voice.

Last updated by bartB-5 2 months, 2 weeks ago.

Author
Posts
#2787156

I have created a basic custom POST type including the default CONTENT area. I created POST forms to create and update posts for this custom POST type.

The CONTENT area is a WYSIWYG area with the TineMCE functionality to format the text. In addition I am using WP Media Folder to manage my media, the plugin allows a front end button to add media to the text.

When creating/updating a custom POST, I can add/insert an image from the media library....I see the image in the content area, I can set the text to wrap around the image etc.

However when I save the POST, the image is not saved with ....If I change the text, I insert table or anything else and save it, that works fine

I enabled debugging, nothing shows up in the error log

#2787193

I found that the issue was the result of restrictions configured elsewhere. I limited the users to use only specific HTML tags (, ...) and not others (setting font).....I also included that the ) was disallowed and as a result the inserted images were stripped from the text before saving. After adding the tag to the allowed list I was able to add, save and preserve the image.