mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-14 16:35:07 +01:00
convert plugins to ES modules, transpile es5 versions backwards compatibility
This commit is contained in:
parent
9522357349
commit
a55cd813be
36 changed files with 3018 additions and 886 deletions
|
|
@ -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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue