25 lines
1.5 KiB
Plaintext
25 lines
1.5 KiB
Plaintext
|
CKEDITOR.editorConfig = (config) ->
|
||
|
# config.language = "zh"
|
||
|
# config.uiColor = "#AADC6E"
|
||
|
config.extraPlugins = 'wordcount,filebrowser'
|
||
|
# config.customFilebrowserImageBrowseLinkUrl = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>"
|
||
|
|
||
|
# config.filebrowserUploadUrl = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>"
|
||
|
# config.filebrowserBrowseUrl = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>"
|
||
|
# config.filebrowserUploadUrl = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>"
|
||
|
config.filebrowserImageBrowseUrl = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>"
|
||
|
# config.filebrowserFlashBrowseUrl = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>"
|
||
|
# config.filebrowserImageUploadUrl = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>"
|
||
|
# config.filebrowserFlashUploadUrl = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>"
|
||
|
# config.filebrowserImageBrowseLinkUrl = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>"
|
||
|
config.filebrowserWindowHeight = 480
|
||
|
config.filebrowserWindowWidth = 640
|
||
|
config.filebrowserWindowFeatures = 'resizable=no,scrollbars=no'
|
||
|
|
||
|
config.wordcount =
|
||
|
# Whether or not you want to show the Word Count
|
||
|
showWordCount: true
|
||
|
# Whether or not you want to show the Char Count
|
||
|
showCharCount: true
|
||
|
|
||
|
true
|