autoinline.rst 643 B

123456789101112131415161718192021222324
  1. Disable auto inline
  2. ===================
  3. By default, CKEditor enables the auto inline feature meaning that any
  4. ``contenteditable`` attribute sets to ``true`` will be converted to CKEditor
  5. instance automatically. If you want to disable it, you can do it globally
  6. in your configuration:
  7. .. code-block:: yaml
  8. # app/config/config.yml
  9. fos_ck_editor:
  10. auto_inline: false
  11. Or you can disable it for a specific widget:
  12. .. code-block:: php
  13. $builder->add('field', 'ckeditor', array('auto_inline' => false));
  14. .. note::
  15. This option will only disable the CKEditor auto inline feature not the
  16. browser one if it supports it.