2015-02-05 238 views
2

任何人都可以解释如何在螺栓2.0.5安装中配置和/或添加插件到ckeditor吗?螺栓2.0.x中的ckeditor

Bolt为标准的债权人安装做了很多mod,虽然过去很容易添加东西,但在最近的版本中似乎变得更加困难。

回答

0

不确定插件,但你可以设置一些选项。 Bolt 2 config.yml文件包含:

# There are several options for giving editors more options to insert images, video, 
# etc in the Wysiwyg areas. But, as you give them more options, that means they also have 
# more ways of breaking the preciously designed layout. By default the most 'dangerous' 
# options are set to 'false'. If you choose to enable them for your editors, please 
# instruct them thoroughly on their responsibility not to break the layout. 
wysiwyg: 
    images: false 
    anchor: false 
    tables: true   # default is false 
    fontcolor: false 
    align: true  # Add 'align left', 'align right',etc. 
    subsuper: false  # Add buttons for subscript and superscript, using <sub> and <sup> 
    embed: false  # allows the user to insert embedded video's from Youtube, 

你可以看到我已经改变了'tables'选项的默认值,它工作正常。