Media Plugin in atlaskit/editor-core

Hi everyone,

I’m currently working with the Forge platform and using the Atlaskit Editor for custom fields like comments and descriptions. I have a couple of questions related to media integration:

1. How to Enable/Add Media Plugin to Atlaskit editor-core?

I’m trying to integrate the media plugin into the Atlaskit editor-core (similar to the comment/description field behavior). I’ve set up the editor to render other elements, but I’m not sure how to include media functionalities (like image uploads or rendering media in the editor).

Could anyone guide me on how to enable or add the media plugin for handling media (images, videos, etc.) in the Atlaskit editor? Is there a specific configuration I need to include?

2. Fetching Images Attached in a Comment and Rendering in a Custom Component?

I’m able to render most of the content from ADF (Atlassian Document Format) in my own custom component. However, I’m struggling with fetching and rendering the images that are attached to a comment. Other ADF content works fine, but the images don’t appear in my component.

  • How do I retrieve images (or media nodes) attached to comments in ADF and display them in my custom UI?
  • Is there any specific API or method to access and render these images properly?

Any help or examples would be greatly appreciated! Thanks in advance.

1 Like