CKEditor Samples » Using the TableResize Plugin

This sample is not maintained anymore. Check out its brand new version in CKEditor SDK.

This sample shows how to configure CKEditor instances to use the TableResize (tableresize) plugin that allows the user to edit table columns by using the mouse.

The TableResize plugin makes it possible to modify table column width. 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 width.

By default the plugin is turned off. To add a CKEditor instance using the TableResize plugin, insert the following JavaScript call into your code:

CKEDITOR.replace( 'textarea_id', {
	extraPlugins: 'tableresize'
});

Note that textarea_id in the code above is the id attribute of the <textarea> element to be replaced with CKEditor.