Support

Account

Home Forums General Issues How to set a custom height for WYSIWYG? Reply To: How to set a custom height for WYSIWYG?

  • just to complete the thread. thats easy:

    add_action('admin_head', 'admin_styles');
    function admin_styles() {
        if( get_post_type() == "product" ) {
    	?>
    	<style>
    		.acf-editor-wrap iframe {
    			height: 100px !important;
    			min-height: 100px;
    		}
    	</style>
    	<?php
    	}
    }