Im using Reusable Custom WordPress Meta Boxes - https://github.com/tammyhart/Reusable-Custom-WordPress-Meta-Boxes in order to add custom meta boxes to my theme.
One of the requirements is that i have WYSIWYG Editor in metabox.
part of the code to get that thing is:
array( 'label' => __('Availability content', 'bookyourtravel'), 'desc' => __('Some desc'), 'id' => 'availability_text', 'type' => 'editor' ),
Now when I save post, information in metabox is saved but its not formatted and images that were in editor are lost.
Why that could happen and how to solve it?
Read more here: WordPress - Reusable Custom WordPress Meta Boxes