I was able to make the plugin work with the following process:
- Download the version of table resize for CKEditor 4.6.2 (direct link here).
Note: Don't worry about dependencies - all of the dependencies for table resize are included with mojoPortal by default.
- Extract the contents of the downloaded zip to wwwroot/ClientScript/ckeditor462/plugins in your mojoPortal site.
- Open your user.config file and add the following key:
<add key="CKEditor:ConfigPath" value="~/ClientScript/ckeditor-customconfig.js" />
- Copy the "ckeditor-mojoconfig.js" file in wwwroot/ClientScript and rename the copy to "ckeditor-customconfig.js". This is to prevent updating mojoPortal from removing your configuration.
- Open your "ckeditor-customconfig.js" file and edit line 7 to read as the following:
config.extraPlugins = 'oembed,tableresize';
Note: Do not put spaces between the extra plugin names and the commas that separate them.
- Go back to your mojoPortal site and clear your browser cache (ctrl + shift + r in most browsers).
Add a table to an editor instance and you should be able to drag to resize the columns now.
You should know that this plugin is adding inline-style with specific pixel widths added to each column, which will cause your table to stop being responsively sized - this is not ideal in a world where most internet browsing happens on phones. We had considered adding the plugin to mojo by default because it is nice for resizing tables, but because of this set-width we've opted not to, we don't want to include anything in mojoPortal core that will make designing content for mobile any harder than it already is.
Hope this helps!