Home › Forums › Feature Requests › Set WYSIWYG Height › Reply To: Set WYSIWYG Height
Height of wysiwg is hardcoded in wysiwyg.php
Path\wp-content\plugins\advanced-custom-fields-pro\fields\wysiwyg.php:
255
256 // get height
257: $height = acf_get_user_setting('wysiwyg_height', 300);
258: $height = max( $height, 300 ); // minimum height is 300
You can’t easily change that with css because it produces inline css , viz –
<textarea id="acf-editor-gtg6gtg6gtg62" class="wp-editor-area" name="acf[field_gtg6gtg6gtg62]" style="height:300px;">wysiwyg content here</textarea>
Good thing is that wysiwyg.php looks like its primed to go for adding wysiwyg height via admin interface.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.