godo.js/README.md

743 B

GODO a ProseMirror editor for Publik

Godo is based on proseMirror ProseMirror is distributed via npm. You need nodeJS & npm

First install node modules since this folder

npm install

Debian

apt install rollup npm node-rollup-plugin-buble node-rollup-plugin-node-resolve

NPM scripts

npm run build

Get all JS modules and create a big JS file in dist/js

npm run watch

automatique build when JS is modified

Use Godo

import in your webpage

  • dist/css/godo.css
  • dist/js.godo.js

Transform a textarea in godo

For more examples, see dist/index.html.