at是否开启加入到配置
This commit is contained in:
parent
f4d861c727
commit
57b1c0c7d8
|
@ -2727,6 +2727,10 @@ int main(int argc, char** argv){
|
|||
opt = {enable_at: false, prettify: false, init_activity: false}.merge default_opt
|
||||
ss = ''
|
||||
|
||||
unless Setting.at_enabled?
|
||||
opt[:enable_at] = false
|
||||
end
|
||||
|
||||
ss += javascript_include_tag("/assets/kindeditor/kindeditor",'/assets/kindeditor/pasteimg')
|
||||
if opt[:enable_at]
|
||||
ss += javascript_include_tag('/assets/kindeditor/at/jquery.caret.min.js', '/assets/kindeditor/at/jquery.atwho.js', '/assets/kindeditor/at/config.js')
|
||||
|
|
|
@ -279,3 +279,5 @@ plugin_redmine_ckeditor:
|
|||
toolbar_can_collapse: '0'
|
||||
toolbar_location: top
|
||||
toolbar: Source,ShowBlocks,--,Undo,Redo,-,Find,Replace,--,Bold,Italic,Underline,Strike,-,Subscript,Superscript,-,NumberedList,BulletedList,-,Outdent,Indent,Blockquote,-,JustifyLeft,JustifyCenter,JustifyRight,JustifyBlock,-,Link,Unlink,-,richImage,Table,HorizontalRule,/,Styles,Format,Font,FontSize,-,TextColor,BGColor
|
||||
at_enabled:
|
||||
default: 1
|
||||
|
|
Loading…
Reference in New Issue