- Issue created by @charles belov
- 🇮🇳India Sreenivas Bttv
This is an essential feature, particularly when working with the Decoupled Drupal approach. When using GraphQL to fetch the body value, there is currently no way to identify
<drupal-media>
as either an Image or Remote Video. I believe it would be appropriate to keep the data-entity-type attribute set to "media." However, we also need an additional attribute, such asdrupal-media-bundle
, to specify whether the media is an image, remote video, audio, document, etc. This would assist the html-react-parser in identifying the bundle and replacing it with the correct component within JavaScript frameworks. - 🇺🇸United States charles belov San Francisco, CA, US
Corrected "external-video" to not have a space.
- 🇺🇸United States charles belov San Francisco, CA, US
Incorporating @sreenivas-bttv comment, which also has the advantage of backwards compatibility.