Code Monkey home page Code Monkey logo

tinymce's Introduction

TinyMCE For Leanote

本仓库来自Tinymce, 在此基础上作了修改. 同样都基于LGPL协议.

分支

  • master 作为Leanote web版编辑器
  • desktop-app 作为Leanote桌面版编辑器

常用命令

  • grunt minify

打包成一个

  • grunt bundle --themes leanote --plugins autolink,link,leaui_image,leaui_mind,lists,hr,paste,searchreplace,leanote_nav,leanote_code,tabfocus,table,directionality,textcolor

注意

先要删除tinymce.dev.js, tinymce.js, tinymce.min.js 不然 grunt amdlc:core不会生成这几个文件!!!

可能是因为没有变化, 所以不再生成!


Building TinyMCE

  1. Install Node.js
  2. Open a console and go to the project directory
  3. Write "npm i -g grunt-cli" to install the grunt command line tool globally.
  4. Write "npm i" to install all package dependencies.
  5. 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

You can read more about how to contribute to this project at http://www.tinymce.com/develop/contributing.php

Build Status

tinymce's People

Contributors

lealife avatar

Watchers

James Cloos avatar Rongya 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.