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
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.