Replaced by: 

If you are using CKEditor 5 from the Drupal core, there is not need to install this module, as most features are now included out-of-the-box with the default table plugin. Table column resize will be implemented in #3353010: Add table.TableColumnResize for formats with arbitrary HTML supported

CKEditor 5

Most features are now included out-of-the-box with the default table plugin. Table column resize will be implemented in #3353010: Add table.TableColumnResize for formats with arbitrary HTML supported.

CKEditor 4

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

Unfortunately to continue using this module it is necessary to use the CKEditor 4 contrib module, as the module depends on the Table Resize plugin, which was not ported to CKEditor 5 yet.

This module requires to install the CKEditor Table Resize plugin.

How to install dependencies via composer

  1. Add the ckeditor/tableresize repository 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.

  2. Execute `composer require ckeditor/tableresize`
  3. Make sure there is the file `libraries/tableresize/plugin.js`.

How to install dependencies manually

  1. Download the plugin on the Table Resize plugin page.
  2. Create a libraries folder in your drupal root if it doesn't exist
  3. Extract the plugin archive in the librairies folder
  4. 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.

Contribute

Supporting organizations: 
Initial development

Project information

Releases