GithubHelp home page GithubHelp logo

x710894881 / tinymce Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tinymce/tinymce

0.0 1.0 0.0 37.49 MB

The world's most popular JavaScript library for rich text editing

Home Page: https://www.tinymce.com/

License: GNU Lesser General Public License v2.1

JavaScript 1.79% CSS 2.28% HTML 1.41% TypeScript 94.52%

tinymce's Introduction

TinyMCE - JavaScript Library for Rich Text Editing

Building TinyMCE

Install Node.js on your system. Clone this repository on your system

$ git clone https://github.com/tinymce/tinymce.git

Open a console and go to the project directory.

$ cd tinymce/

Install grunt command line tool globally.

$ npm i -g grunt-cli

Install all package dependencies.

$ npm install

Now, build TinyMCE by using grunt.

$ grunt

Build tasks

grunt Lints, compiles, minifies and creates release packages for TinyMCE. This will produce the production ready packages.

grunt start Starts a webpack-dev-server that compiles the core, themes, plugins and all demos. Go to localhost:3000 for a list of links to all the demo pages.

grunt dev Runs tsc, webpack and less. This will only produce the bare essentials for a development build and is a lot faster.

grunt test Runs all tests on PhantomJS.

grunt bedrock-manual Runs all tests manually in a browser.

grunt bedrock-auto:<browser> Runs all tests through selenium browsers supported are chrome, firefox, ie, MicrosoftEdge, chrome-headless and phantomjs.

grunt webpack:core Builds the demo js files for the core part of tinymce this is required to get the core demos working.

grunt webpack:plugins Builds the demo js files for the plugins part of tinymce this is required to get the plugins demos working.

grunt webpack:themes Builds the demo js files for the themes part of tinymce this is required to get the themes demos working.

grunt webpack:<name>-plugin Builds the demo js files for the specific plugin.

grunt webpack:<name>-theme Builds the demo js files for the specific theme.

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 to be included 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.

tinymce's People

Contributors

spocke avatar ephox-mogran avatar jhaines avatar ephox-rob avatar mimo84 avatar rojotek avatar ephox-luke avatar alecpl avatar thespyder avatar ekimchau avatar jashua212 avatar thorn0 avatar danchr avatar afraithe avatar vlajos avatar misteroneill avatar danielpunkass avatar ice8lue avatar gavdoug avatar nazar-pc avatar bentiedt avatar godefroy avatar threebytesfull avatar danransom avatar nikolas avatar andykellr avatar phreaknerd avatar mattheu avatar tiny-james avatar jellekralt avatar

Watchers

蛮吉 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.