You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While cloning or importing, an image with alternative text, title and caption retains this data in the image markup but the metadata is stripped from the media attachment in the library. The description field of the attachment metadata is not reflected in markup, and is lost altogether. This data is exposed in the API, so we can add it to the cloning and import routines.
Prerequisites
Description
While cloning or importing, an image with alternative text, title and caption retains this data in the image markup but the metadata is stripped from the media attachment in the library. The description field of the attachment metadata is not reflected in markup, and is lost altogether. This data is exposed in the API, so we can add it to the cloning and import routines.
See: https://guide.pressbooks.com/wp-json/wp/v2/media/2022
(Used in: https://guide.pressbooks.com/wp-json/pressbooks/v2/chapters/1356 )
Steps to Reproduce
Expected behavior: All four metadata are preserved during cloning.
Actual behavior: They are missing except in markup within the post content. Description disappears altogether.
System Information
Pressbooks: 5.5.0-dev
The text was updated successfully, but these errors were encountered: