To reproduce: A deprecated warning pops up when editing a presentation if WP_Debug is set to true.
Steps to fix: Update plugin to use ‘block_editor_settings_all‘ instead.
index.php line 320
/**
* Prepare styles array for block settings.
*
* @param array $settings the setting data.
*/
function presentation_block_editor_settings( $settings ) {
if ( 'presentation' !== get_current_screen()->post_type ) {
return $settings;
}
$settings['styles'] = array();
return $settings;
}
add_filter( 'block_editor_settings_all', __NAMESPACE__ . '\presentation_block_editor_settings', 99999 );
]]>
Hi there-
really appreciate your add-on; investigating using it with LifterLMS to create course notes for instructors for in person use.
Emedding it in a page via iframe works! Click on the slide, events go to the slide, can even full screen from the iframe(!)
It looks to be working quite well, but “O” key (overview) is not working.
The presenter notes are also not showing up.
Keyboard events seem to be hooked up correctly, as I can move through slides and enter fullscreen. But possibly something has not loaded 100% correct; on the help screen for the font is black- I vaguely remember standalone reveal always making it readable.
Two further requests:
– would it be possible to support reveal.js’s vertical “stacks” of slides? I find it really useful to have main topics “sideways” and optional details “vertically”.
– would it be possible to have a Gutenberg block to insert an embedded slide on a page? It could be as simple presenting a list of available slides and generating the appropriate iframe.
If I can figure out how to make presentation “pages” protected by LifterLMS’s access system I will have found a very useable system!
Thanks in advance!
]]>