Update ckeditor

Avoid empty commands
Small fixes
This commit is contained in:
RainLoop Team 2016-09-01 23:41:36 +03:00
parent 969f15dd6b
commit a60ffc06e1
167 changed files with 12173 additions and 12278 deletions

View file

@ -1,38 +1,38 @@
Quicktable plugin for ckeditor 4.x
==========
###Version 1.0.5
- If the border gets disabled (`config.qtBorder = 0`) it isn't necessary to set the qtClass to `cke_show_border` anymore
- Event `removeFormatCleanup` is fired if table gets inserted into the editor
- Small changes to the preview table design (no table border, cellspacing and cellpadding of 1)
- Adding option for preview table cell border
- Adding option for preview table cell background on hover
- Adding option for preview table cell size
###Version 1.0.4
- fix refactoring errors (table dimensions didn't get updated anymore)
```javascript
Cannot read property 'setText' of undefined
```
```javascript
Cannot read property '$' of undefined
```
###Version 1.0.3
- short option values *(older ones are not supported anymore)*
- modify compiled sample so it refers to local ckeditor
- updated configuration sample
- example includes 2 editors (default and custom configuration)
- code refactoring to decrease code complexity and count of statements
###Version 1.0.2
- Adding cellspacing option
- Adding cellpadding option
- Change default width to table plugin default width
###Version 1.0.1
- change the sample to use ckeditor cdn
- adding a new class option to set the table attribute class
- change the style option type from string to object (for easier configuration)
###Version 1.0.0
- Initial Release
Quicktable plugin for ckeditor 4.x
==========
###Version 1.0.5
- If the border gets disabled (`config.qtBorder = 0`) it isn't necessary to set the qtClass to `cke_show_border` anymore
- Event `removeFormatCleanup` is fired if table gets inserted into the editor
- Small changes to the preview table design (no table border, cellspacing and cellpadding of 1)
- Adding option for preview table cell border
- Adding option for preview table cell background on hover
- Adding option for preview table cell size
###Version 1.0.4
- fix refactoring errors (table dimensions didn't get updated anymore)
```javascript
Cannot read property 'setText' of undefined
```
```javascript
Cannot read property '$' of undefined
```
###Version 1.0.3
- short option values *(older ones are not supported anymore)*
- modify compiled sample so it refers to local ckeditor
- updated configuration sample
- example includes 2 editors (default and custom configuration)
- code refactoring to decrease code complexity and count of statements
###Version 1.0.2
- Adding cellspacing option
- Adding cellpadding option
- Change default width to table plugin default width
###Version 1.0.1
- change the sample to use ckeditor cdn
- adding a new class option to set the table attribute class
- change the style option type from string to object (for easier configuration)
###Version 1.0.0
- Initial Release

View file

@ -1,52 +1,52 @@
quicktable
==========
[![Build Status](https://travis-ci.org/ufdada/quicktable.svg?branch=master)](https://travis-ci.org/ufdada/quicktable)
[![devDependency Status](https://david-dm.org/ufdada/quicktable/dev-status.svg)](https://david-dm.org/ufdada/quicktable#info=devDependencies)
###A quicktable plugin for ckeditor 4
This plugin adds a quicktable feature to the existing table plugin.
The original code was submitted by [danyaPostfactum](https://github.com/danyaPostfactum) as a pull request for the table plugin.
I just extracted the code and made a seperate plugin out of it and added some options to it (see sample in plugin directory)
__*The original table plugin is required for this to work!*__
####Building:
This requires **node.js** and **npm** to be installed.
Then open the directory with the *git-shell* and type `npm install` to install the required packages.
After that you can execute grunt with the following options:
1. `grunt test`
- Linting the js and html files (check for syntax errors etc.). See [JS Hint Configuration File](https://raw.githubusercontent.com/ufdada/quicktable/master/.jshintrc) for options __*(default)*__
2. `grunt build`
- `grunt test` and compressing the plugin into a zip file. The zip file is located in the *release* directory.
3. `grunt build-only`
- Just generating the zip file without linting and markdown compile *(not recommended)*
####Installation:
Just copy the whole directory (quicktable) in the plugins directory
####Configuration:
```javascript
CKEDITOR.replace( 'editor1', {
qtRows: 20, // Count of rows in the quicktable (default: 8)
qtColumns: 20, // Count of columns in the quicktable (default: 10)
qtBorder: '1', // Border of the inserted table (default: '1')
qtWidth: '90%', // Width of the inserted table (default: '500px')
qtStyle: { 'border-collapse' : 'collapse' }, // Content of the style-attribute of the inserted table (default: null)
qtClass: 'test', // Class of the inserted table (default: '')
qtCellPadding: '0', // Cell padding of the inserted table (default: '1')
qtCellSpacing: '0', // Cell spacing of the inserted table (default: '1')
qtPreviewBorder: '4px double black', // Border of the preview table (default: '1px solid #aaa')
qtPreviewSize: '4px', // Cell size of the preview table (default: '14px')
qtPreviewBackground: '#c8def4' // Cell background of the preview table on hover (default: '#e5e5e5')
});
```
####Known Issues:
- Some missing translations
For more Information see original post [here](https://github.com/ckeditor/ckeditor-dev/pull/92)
quicktable
==========
[![Build Status](https://travis-ci.org/ufdada/quicktable.svg?branch=master)](https://travis-ci.org/ufdada/quicktable)
[![devDependency Status](https://david-dm.org/ufdada/quicktable/dev-status.svg)](https://david-dm.org/ufdada/quicktable#info=devDependencies)
###A quicktable plugin for ckeditor 4
This plugin adds a quicktable feature to the existing table plugin.
The original code was submitted by [danyaPostfactum](https://github.com/danyaPostfactum) as a pull request for the table plugin.
I just extracted the code and made a seperate plugin out of it and added some options to it (see sample in plugin directory)
__*The original table plugin is required for this to work!*__
####Building:
This requires **node.js** and **npm** to be installed.
Then open the directory with the *git-shell* and type `npm install` to install the required packages.
After that you can execute grunt with the following options:
1. `grunt test`
- Linting the js and html files (check for syntax errors etc.). See [JS Hint Configuration File](https://raw.githubusercontent.com/ufdada/quicktable/master/.jshintrc) for options __*(default)*__
2. `grunt build`
- `grunt test` and compressing the plugin into a zip file. The zip file is located in the *release* directory.
3. `grunt build-only`
- Just generating the zip file without linting and markdown compile *(not recommended)*
####Installation:
Just copy the whole directory (quicktable) in the plugins directory
####Configuration:
```javascript
CKEDITOR.replace( 'editor1', {
qtRows: 20, // Count of rows in the quicktable (default: 8)
qtColumns: 20, // Count of columns in the quicktable (default: 10)
qtBorder: '1', // Border of the inserted table (default: '1')
qtWidth: '90%', // Width of the inserted table (default: '500px')
qtStyle: { 'border-collapse' : 'collapse' }, // Content of the style-attribute of the inserted table (default: null)
qtClass: 'test', // Class of the inserted table (default: '')
qtCellPadding: '0', // Cell padding of the inserted table (default: '1')
qtCellSpacing: '0', // Cell spacing of the inserted table (default: '1')
qtPreviewBorder: '4px double black', // Border of the preview table (default: '1px solid #aaa')
qtPreviewSize: '4px', // Cell size of the preview table (default: '14px')
qtPreviewBackground: '#c8def4' // Cell background of the preview table on hover (default: '#e5e5e5')
});
```
####Known Issues:
- Some missing translations
For more Information see original post [here](https://github.com/ckeditor/ckeditor-dev/pull/92)