You can use Custom Media Library features to show custom media files inside the editor. This can be useful if you have already gathered media files from a user inside your platform, or when you have recommended media files you'd like to show to your user.
There are two ways of adding your custom media library to the editor:
- Data-based: Use Shakr's native UI to show media library, but with your own media files.
- UI-based: Show your entirely custom media library UI by attaching the event handler to the editor.
Both data-based and UI-based integration methods share the same data structure, as shown below.
By using the data-based method, you can conveniently integrate and show your custom media library in the editor without building a separate UI from the ground up.
By using the UI-based method, you can show and provide media files in your customized UI built with your design and functionalities.