npm.io
0.0.1 • Published 3 years ago

wsm-basic

Licence
MIT
Version
0.0.1
Deps
0
Size
31 kB
Vulns
0
Weekly
0
Stars
1

Webstudio Basic Module

This module adds basic blocks such as image, video, iframe, text to the Webstudio editor

Webstudio Module Basic

Testing and Building Module

npm i
npm run test
npm run build

Publish to NPMJS

npm publish
Importing Dependency in Webstudio

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
    ],
})