fos_ck_editor.yaml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. fos_ck_editor:
  2. default_config: default
  3. autoload: false
  4. base_path: "public/libs/ckeditor"
  5. js_path: "public/libs/ckeditor/ckeditor.js"
  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: default # Optional, to upload in a custom context, see sonata_media.yaml
  28. format: medium
  29. plugins:
  30. wordcount:
  31. path: "/bundles/chamilocore/ckeditor/plugins/wordcount"
  32. filename: "plugin.js"
  33. # adobeair:
  34. # path: "/bundles/chamilocore/components/ckeditor/plugins/adobeair"
  35. # filename: "plugin.js"
  36. # iframedialog:
  37. # path: "/bundles/chamilocore/components/ckeditor/plugins/iframedialog"
  38. # filename: "plugin.js"
  39. # docprops:
  40. # path: "/bundles/chamilocore/components/ckeditor/plugins/docprops"
  41. # filename: "plugin.js"