CKEditor Table Resize
Categories
Component ID
2904699
Component name
CKEditor Table Resize
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
262
Component created
Component changed
Component body
This module integrates the CKEditor Table Resize plugin.
This plugin adds support for table column resizing with your mouse. Hover your mouse over the column border to see the cursor change to indicate that the column can be resized. Click and drag your mouse to set the desired column width.
Dependencies
This module requires to install the CKEditor Table Resize plugin.
How to install dependencies via composer
-
Add ckeditor/tableresize repositories to your `composer.json`.
For CKEditor 4.7:
"repositories": [ { "type": "package", "package": { "name": "ckeditor/tableresize", "version": "4.7.2", "type": "drupal-library", "dist": { "url": "https://download.ckeditor.com/tableresize/releases/tableresize_4.7.2.zip", "type": "zip" } } } ]For CKEditor 4.6:
"repositories": [ { "type": "package", "package": { "name": "ckeditor/tableresize", "version": "4.6.2", "type": "drupal-library", "dist": { "url": "https://download.ckeditor.com/tableresize/releases/tableresize_4.6.2.zip", "type": "zip" } } } ]You can find more versions at the Table Resize plugin page.
- Execute `composer require ckeditor/tableresize`
- Make sure there is the file `libraries/tableresize/plugin.js`.
How to install dependencies manually
- Download the plugin on the [Table Resize](https://ckeditor.com/addon/tableresize) plugin page.
- Create a libraries folder in your drupal root if it doesn't exist
- Extract the plugin archive in the librairies folder
- Make sure there is the file `libraries/tableresize/plugin.js`.
How to use
- Go to the format and editor config page and click configure on the format you want to edit : http://example.com/admin/config/content/formats
- Add the Table plugin button in your editor toolbar.
- Save, that's it, "Table resize" plugin will automatically start to work once you have the "Table" button in the CKEditor toolbar.
