humhub-prosemirror-richtext

Prosemirror based richtext implementation for the humhub social network

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
humhub-prosemirror-richtext
2.0.33 months ago6 years agoMinified + gzip package size for humhub-prosemirror-richtext in KB

Readme

HumHub Richtext

Build

Build with Gruntfile.js

In order to build the project, run the following command:
grunt rollup

Build with rollup.config.js

NOTE: Before using this configuration, change the parameter 'type' in package.json to 'module'
For using run the following command in the console:
rollup -c

Test environment

Run tests in browser

  • Build and run test server:

grunt
npm test-server

Run headless tests

  • Run the test server and then run:

npm run test

Test editor build in HumHub

In a test environment it is recommended to configure your humhub\assets\ProsemirrorEditorAsset::$sourcePath to point to your own dist directory e.g. '/humhub-prosemirror/dist' and to enable the $forceCopy option.

Publish

``` git pull grunt rollup npm version 1.1.7 npm publish git push ```