Hi,
Thank you for your question and the screenshot, that is very helpful!
If I understood correctly, you want to limit the height of the product description editor area to a fixed height, because you want to easily reach the product price input by scrolling lesser. We’re happy to help you with this.
Can you please add the following snippet to your site and check your product administration page again? If you aren’t familiar with adding custom code to your site, here is some information as to how to do it. We recommend the free Code Snippets method.
You can view the snippet here:
?
add_filter( 'tiny_mce_before_init', function( $settings ) {
$screen = get_current_screen();
if ( $screen->is_block_editor() ) {
return $settings;
}
if ( ! in_array( $screen->post_type, ['product'], true ) ) {
return $settings;
}
$settings['height'] = '120';
$settings['autoresize_max_height'] = '120';
return $settings;
} );
Let us know if it works!
Best regards,
Taha
-
This reply was modified 2 years ago by tpaksu.