OliverParoczai
6681c4bfa0
|
4 years ago | |
---|---|---|
.. | ||
plugins | 4 years ago | |
skins/lightgray | 4 years ago | |
themes | 4 years ago | |
bower.json | 4 years ago | |
changelog.txt | 4 years ago | |
composer.json | 4 years ago | |
jquery.tinymce.js | 4 years ago | |
jquery.tinymce.min.js | 4 years ago | |
license.txt | 4 years ago | |
package.json | 4 years ago | |
readme.md | 4 years ago | |
tinymce.jquery.js | 4 years ago | |
tinymce.jquery.min.js | 4 years ago | |
tinymce.js | 4 years ago | |
tinymce.min.js | 4 years ago |
readme.md
TinyMCE - The JavaScript Rich Text editor
Building TinyMCE
- 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"
Build tasks
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.
Bundle themes and plugins into a single file
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.
Contributing to the TinyMCE project
TinyMCE is an open source software project and we encourage developers to contribute patches and code for us to include in the main package of TinyMCE.
Basic Rules
- Contributed code will be licensed under the LGPL license but not limited to LGPL.
- Copyright notices will be changed to Ephox Corporation, contributors will get credit for their work.
- All third party code will be reviewed, tested and possibly modified before being released.
- All contributors will have to have signed the Contributor License Agreement.
These basic rules ensures that the contributed code remains open source and under the LGPL license.
How to Contribute to the Code
The TinyMCE source code is hosted on Github. Through Github you can submit pull requests and log new bugs and feature requests.
When you submit a pull request, you will get a notice about signing the Contributors License Agreement (CLA). You should have a valid email address on your GitHub account, and you will be sent a key to verify your identity and digitally sign the agreement.
After you signed your pull request will automatically be ready for review & merge.
How to Contribute to the Docs
Docs are hosted on Github in the tinymce-docs repo.
How to contribute to the docs, including a style guide, can be found on the TinyMCE website.