sonata_formatter.yaml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. sonata_formatter:
  2. default_formatter: text
  3. formatters:
  4. markdown:
  5. service: sonata.formatter.text.markdown
  6. extensions:
  7. - sonata.formatter.twig.control_flow
  8. - sonata.formatter.twig.gist
  9. - sonata.media.formatter.twig
  10. text:
  11. service: sonata.formatter.text.text
  12. extensions:
  13. - sonata.formatter.twig.control_flow
  14. - sonata.formatter.twig.gist
  15. - sonata.media.formatter.twig
  16. rawhtml:
  17. service: sonata.formatter.text.raw
  18. extensions:
  19. - sonata.formatter.twig.control_flow
  20. - sonata.formatter.twig.gist
  21. - sonata.media.formatter.twig
  22. richhtml:
  23. service: sonata.formatter.text.raw
  24. extensions:
  25. - sonata.formatter.twig.control_flow
  26. - sonata.formatter.twig.gist
  27. - sonata.media.formatter.twig
  28. twig:
  29. service: sonata.formatter.text.twigengine
  30. extensions: [] # Twig formatter cannot have extensions
  31. ckeditor:
  32. templates:
  33. browser: '@SonataFormatter/Ckeditor/browser.html.twig'
  34. upload: '@SonataFormatter/Ckeditor/upload.html.twig'