50% discount in conference replays
2020 and 2021 events
In English, French, German, Polish and Spanish

Fallback to textarea

Edit this page

Fallback to textarea

Sometimes, you don't want to use the CKEditor widget but a simple textarea (e.g testing purpose). As CKEditor uses an iFrame to render the widget, it can be difficult to automate something on it. To disable CKEditor and fallback on the parent widget (textarea), you can disable it globally in your configuration:

# app/config/config_test.yml
    enable: false

Or you can disable it in your widget:

$builder->add('field', 'ckeditor', array('enable' => false));
This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.