- Install Node.js
- Open a console and go to the project directory
- Write "npm i -g grunt-cli" to install the grunt command line tool globally.
- Write "npm i" to install all package dependencies.
- Build TinyMCE by writing "grunt"
grunt
Lints, minified, unit tests and creates release packages for TinyMCE.
grunt minify
Minifies all JS and CSS files.
grunt test
Runs all qunit tests on PhantomJS.
grunt lint
Runs all source files though various JS linters.
grunt sc-test
Runs all qunit tests on Saucelabs.
grunt watch
Watches for source code changes and triggers rebuilds and linting.
grunt --help
Displays the various build tasks.
grunt bundle --themes modern --plugins table,paste
Minifies the core, adds the modern theme and adds the table and paste plugin into tinymce.min.js.
You can read more about how to contribute to this project at https://www.tinymce.com/develop/contributing.php