Édition riche
Go to file
Thomas Jund 52dcdb9bb5 JS: add menus Language object (#59587) 2022-05-30 16:48:48 +02:00
debian debian: remove libjs-godo package (#60360) 2022-01-06 15:22:51 +01:00
dist JS: add menus Language object (#59587) 2022-05-30 16:48:48 +02:00
src-js JS: add menus Language object (#59587) 2022-05-30 16:48:48 +02:00
xstatic add raw and Debian python packaging (#59578) 2021-12-20 18:03:55 +01:00
.gitignore add raw and Debian python packaging (#59578) 2021-12-20 18:03:55 +01:00
COPYING add/use AGPL (#59579) 2021-12-12 11:58:08 +01:00
Jenkinsfile jenkins: fix email for notification messages 2022-02-04 14:40:50 +01:00
MANIFEST.in add raw and Debian python packaging (#59578) 2021-12-20 18:03:55 +01:00
Makefile setup: use npm ci to avoid package-lock.json modification during build (#65111) 2022-05-11 11:21:02 +02:00
README.md add/use AGPL (#59579) 2021-12-12 11:58:08 +01:00
package-lock.json remove fsevents from package-lock.json (#64841) 2022-05-11 10:39:16 +02:00
package.json misc: add/update project URIs (#59591) 2021-12-12 11:58:08 +01:00
rollup.config.js add minification 2021-12-10 12:52:37 +01:00
setup.py setup: use npm ci to avoid package-lock.json modification during build (#65111) 2022-05-11 11:21:02 +02:00

README.md

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.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.