mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-22 22:32:57 +02:00
convert plugins to ES modules, transpile es5 versions backwards compatibility
This commit is contained in:
@@ -200,7 +200,22 @@ function Hilitor(id, tag)
|
||||
toggleSearch();
|
||||
}
|
||||
}, false );
|
||||
if( window.Reveal ) Reveal.registerKeyboardShortcut( 'CTRL + Shift + F', 'Search' );
|
||||
|
||||
closeSearch();
|
||||
return { open: openSearch };
|
||||
|
||||
return {
|
||||
|
||||
id: 'search',
|
||||
|
||||
init: reveal => {
|
||||
|
||||
reveal.registerKeyboardShortcut( 'CTRL + Shift + F', 'Search' );
|
||||
|
||||
},
|
||||
|
||||
open: openSearch
|
||||
|
||||
}
|
||||
})();
|
||||
|
||||
export default RevealSearch;
|
Reference in New Issue
Block a user