Block Editor Datepicker Not Showing
-
I enabled the block editor for the events pages by adding
define( 'EM_GUTENBERG', true);
to my wp-config.php file.However, the datepicker does not show up. Turns out, it has a too low z-index.
The following code fixed it for me:
//events manager block editor datepicker fix add_action('admin_footer', function() { $screen = get_current_screen(); if ( is_object( $screen ) && in_array( $screen->post_type, array( 'event', 'event-recurring' ) ) ) { ?> <style> #ui-datepicker-div { z-index:99 !important; } </style> <?php } });
Please fix in the next release.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Block Editor Datepicker Not Showing’ is closed to new replies.