sonata_formatter:
  default_formatter: text
  formatters:
    text:
      service: sonata.formatter.text.text
      extensions:
        - sonata.formatter.twig.control_flow
        - sonata.formatter.twig.gist

    richhtml:
      service: sonata.formatter.text.raw
      extensions:
        - sonata.formatter.twig.control_flow
        - sonata.formatter.twig.gist
        - sonata.formatter.twig.media # do not add this unless you are using media bundle.