标签

2016年12月9日星期五

CKeditor tabletools configuration

CKeditor is a great tools set in HTML CMS. It document is clear and simple.

Tabletools is a extension for table, for "table" plugin, Ckeditor get this:


Tabletools plugin get this:
a right click in the unit cell of table, can modify structure of table.
It also can control cell properties like types color.

The install dependence is following list:

Ckeditor

  • table
  • tabletools
  • contextmenu
  • menu
  • floatpanel
  • panel
it like a support chain, but after we install all of them in a simple Ckeditor, the table menu button disappear from the panel menu. all step is this:
install plugins file to ./ckeditor/plugins, include table, tabletools, contextmenu, menu, floatpanel, panel
modify ckeditor.js in :
extraPlugins:"", --> extraPlugins:"table",extraPlugins:"tabletools",extraPlugins:"contextmenu".....
Finally, add all plugins folder to plugins, and only two configuration items are needed:
 extraPlugins:"table",extraPlugins:"tabletools"

没有评论:

发表评论