inline.rst 612 B

123456789101112131415161718192021
  1. Use inline editing
  2. ==================
  3. By default, the bundle uses a `Classic Editing`_ which relies on
  4. ``CKEDITOR.replace``. If you want to use the `Inline Editing`_ which relies on
  5. ``CKEDITOR.inline``, you can configure it globally in your configuration:
  6. .. code-block:: yaml
  7. # app/config/config.yml
  8. fos_ck_editor:
  9. inline: true
  10. Or you can configure it in your widget:
  11. .. code-block:: php
  12. $builder->add('field', 'ckeditor', array('inline' => true));
  13. .. _`Classic Editing`: http://docs.ckeditor.com/#!/guide/dev_framed
  14. .. _`Inline Editing`: http://docs.ckeditor.com/#!/guide/dev_inline