quicktable

Build Status devDependency Status

A quicktable plugin for ckeditor 4

This plugin adds a quicktable feature to the existing table plugin.

The original code was submitted by 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
  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

Changelog:

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)
    • Cannot read property 'setText' of undefined
    • 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

Known Issues:

  • Some missing translations

For more Information see original post here