Open amroland opened 1 year ago
@amroland Thanks for the report! Just curious if you noticed this happening with any other block? Video Uploads for Vimeo PRO appears to be a premium plugin.
@donnapep I didn't notice it with any other block. I notified the developer of the other plugin about this as well.
If the template is DIVI and Learner mode is on, some plugin blocks will not appear in lessons (e.g. WP Vimeo Upload block of Video Uploads for Vimeo PRO plugin).
This CSS is causing the issue: woothemes-sensei/plugins/sensei-lms/assets/dist/css/3rd-party/themes/divi/learning-mode.css?ver=2566383cb64eabe0d127
.wp-block-post-content * { padding-bottom: 0; }
This sets the padding-bottom to 0, which means that the given block element is not visible.
Screenshot / Video
padding-bottom prevents showing video player element:
If you disable padding-bottom video player is visible:
PHP / WordPress / Sensei LMS version
Sensei LMS Version: 4.15.0 | Sensei Pro Version: 1.15.0 DIVI 4.21.0 WordPress 6.2.2