问题描述:

  添加后的效果:

          为ckeditor编辑器添加行距功能

一、下载lineheight的从插件包 http://files.cnblogs.com/ysfng/ckeditor-lineheight.zip

二、

    具体做法是添加插件:在目录“\ckeditor\plugins”下添加插件目录“lineheight”,目录“\ckeditor\plugins\lineheight”下的文件截图如下:为ckeditor编辑器添加行距功能

三、然后需要对\ckeditor\config.js文件进行修改,即添加行距插件:

config.extraPlugins += (config.extraPlugins ? ',lineheight' : 'lineheight');


同时不要忘记在onfig.toolbar_default=[]中添加行间距内容如下所示:

为ckeditor编辑器添加行距功能

这样就完成了。

转载于:https://my.oschina.net/u/1421591/blog/411468

相关文章:

  • 2021-11-06
  • 2021-07-21
  • 2021-07-07
  • 2022-12-23
  • 2022-02-18
  • 2022-12-23
  • 2022-01-19
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-11
  • 2021-10-05
  • 2022-12-23
  • 2021-10-25
  • 2021-12-07
相关资源
相似解决方案