2015-02-05 285 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'選項的默認值,它工作正常。