Created
July 13, 2018 12:46
-
-
Save szeidler/777f70c3dc761cd3b68fe04de97113f9 to your computer and use it in GitHub Desktop.
Change the height of Drupal 8 CKEditor for a specific text format
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Implements hook_editor_js_settings_alter(). | |
*/ | |
function mymodule_misc_editor_js_settings_alter(array &$settings) { | |
$settings['editor']['formats'][$my_text_format]['editorSettings']['autoGrow_minHeight'] = '50'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment