This module adds basic blocks such as image, video, iframe, text to the Webstudio editor
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-basic@latest
To import in the editor add the file and include it as a Plugin
import PluginBasic from "wsm-basic"
const editor = grapesjs.init({
container: "#gjs",
plugins: [
PluginBasic
],
})