ivory_ckeditor.yml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. ivory_ck_editor:
  2. autoload: false
  3. base_path: "bundles/ivoryckeditor"
  4. js_path: "bundles/ivoryckeditor/ckeditor.js"
  5. default_config: default
  6. configs:
  7. chamilo:
  8. filebrowserBrowseRoute: elfinder
  9. filebrowserBrowseRouteParameters: []
  10. default:
  11. # default toolbar plus Format button
  12. toolbar:
  13. - [Bold, Italic, Underline, -, Cut, Copy, Paste, PasteText, PasteFromWord, -, Undo, Redo, -, NumberedList, BulletedList, -, Outdent, Indent, -, Blockquote, -, Image, Link, Unlink, Table]
  14. - [Format, Maximize, Source]
  15. filebrowserBrowseRoute: admin_chamilo_media_media_ckeditor_browser
  16. filebrowserImageBrowseRoute: admin_chamilo_media_media_ckeditor_browser
  17. # Display images by default when clicking the image dialog browse button
  18. filebrowserImageBrowseRouteParameters:
  19. provider: sonata.media.provider.image
  20. filebrowserUploadRoute: admin_chamilo_media_media_ckeditor_upload
  21. filebrowserUploadRouteParameters:
  22. provider: sonata.media.provider.file
  23. # Upload file as image when sending a file from the image dialog
  24. filebrowserImageUploadRoute: admin_chamilo_media_media_ckeditor_upload
  25. filebrowserImageUploadRouteParameters:
  26. provider: sonata.media.provider.image
  27. context: my-context # Optional, to upload in a custom context
  28. plugins:
  29. wordcount:
  30. path: "/bundles/chamilocore/ckeditor/plugins/wordcount"
  31. filename: "plugin.js"
  32. # adobeair:
  33. # path: "/bundles/chamilocore/components/ckeditor/plugins/adobeair"
  34. # filename: "plugin.js"
  35. # iframedialog:
  36. # path: "/bundles/chamilocore/components/ckeditor/plugins/iframedialog"
  37. # filename: "plugin.js"
  38. # docprops:
  39. # path: "/bundles/chamilocore/components/ckeditor/plugins/docprops"
  40. # filename: "plugin.js"