- First commit to issue fork.
- @miedward opened merge request.
I made an issue fork and things before I realized this is probably not desired default behavior but I'm going to put the patch here if people want it to work that way without making a separate module.
I thought this was working but I was wrong. The approach I went with in the end is this
/** * Implements hook_editor_js_settings_alter */ function mymodule_editor_js_settings_alter(array &$settings) { // Settings for ckeditor4 youtube plugin responsive setting to be the default foreach ($settings['editor']['formats'] as $name => $value) { $settings['editor']['formats'][$name]['editorSettings']['youtube_responsive'] = TRUE; } }