This module enable the upload of file based assets (images, multimedia, etc) to IPFS Webstudio
npm i
npm run test
npm run build
npm publish
Add it to the project, this is compatible with grapesjs
as well.
npm i --save wsm-asset-manager@latest
To import in the editor add the file and include it as a Plugin
import { AssetManager as assetManager } from "wsm-asset-manager";
const editor = grapesjs.init({
container: "#gjs",
assetManager
})