1.0.1 • Published 2 years ago

wsm-fonts v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Webstudio Fonts Module

This module adds custom fonts to web apps built with Webstudio

Webstudio Module Fonts

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-fonts@latest

To import in the editor add the file and include it as a Plugin

import WSMFonts, { WSMFontStyles } from "wsm-fonts"

const editor = grapesjs.init({
    container: "#gjs",
    plugins: [
        WSMFonts
    ],
    canvas: {
        styles: [
            ...WSMFontStyles
        ],
    }
})
1.0.1

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago