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 yourhumhub\assets\ProsemirrorEditorAsset::$sourcePath
to point
to your own dist
directory e.g. '/humhub-prosemirror/dist'
and to enable the $forceCopy
option.