Commit graph

78 commits

Author SHA1 Message Date
Hakim El Hattab
aa2a4a0a36 scope selection color to .reveal 2020-05-11 11:28:36 +02:00
Hakim El Hattab
f84bc7882e simplify stack css 2020-05-11 11:02:54 +02:00
Hakim El Hattab
eeedaa17e1 new 'r-stack' helper class for stacking & centering multiple elements 2020-05-11 10:54:02 +02:00
Hakim El Hattab
664beff715 add focus controller, manages keyboard focus across multiple embedded decks 2020-05-11 09:15:02 +02:00
Hakim El Hattab
ba0b367ed9 remove nuking of hash changes when hash is disabled 2020-05-08 20:53:10 +02:00
Hakim El Hattab
772fa0308d make it possible to disable hash change listener with respondToHashChanges: false 2020-05-08 20:49:06 +02:00
Hakim El Hattab
3a032a836a fix auto-animate bug on centered slides 2020-05-08 20:33:28 +02:00
Hakim El Hattab
a0a1ae193f dont prevent page scrolling when swiping on embedded decks 2020-05-08 20:12:52 +02:00
Hakim El Hattab
cca2a3cdf3 fix print pdf scope exception 2020-05-06 22:04:01 +02:00
Hakim El Hattab
b7f480c908 fix fullscreen for embedded decks 2020-05-05 20:54:40 +02:00
Hakim El Hattab
c4870362d9 slide data-state is now set at the viewport level, add Reveal.getViewportElement() 2020-05-04 14:33:21 +02:00
Hakim El Hattab
9242b25bc9 esm bundle only targets browsers with module support 2020-05-04 11:13:11 +02:00
Hakim El Hattab
cdf09ff7c2 remove sourcemaps 2020-05-04 10:40:55 +02:00
Hakim El Hattab
60cd098c8d .esm suffix for module bundle, marked/highlight.js are installed via npm 2020-05-04 10:39:37 +02:00
Hakim El Hattab
619b3a087c plugin consistency 2020-04-29 11:56:43 +02:00
Hakim El Hattab
f2fbc59bcc fix auto-animate error and spec 2020-04-29 11:39:45 +02:00
Hakim El Hattab
48ebc3b7e0 remove unused dependency, disable inconsistent 'slidetransitionend' test 2020-04-27 11:44:33 +02:00
Hakim El Hattab
951f5d04c2 add markdown support for code line numbers and line highlights #2371 2020-04-27 10:43:56 +02:00
Hakim El Hattab
b92d16f48d make plugins work with multiple presentations on same page 2020-04-23 10:54:48 +02:00
Hakim El Hattab
210fbb7646 plugins can be direct references or factory functions 2020-04-23 09:39:26 +02:00
Hakim El Hattab
93cdf8cfcc move multiplex plugin out to reveal/reveal-multiplex repo 2020-04-22 13:22:01 +02:00
Hakim El Hattab
9823be99f4 fragments are now included in URL by default, even on named slides 2020-04-22 11:11:14 +02:00
Hakim El Hattab
d727509dbc viewport tweaks, allow options to be passed when initializing 2020-04-22 08:59:21 +02:00
Hakim El Hattab
faaa791019 backwards compatibility, reveal.js 4.0 can now register ~3.9 plugins 2020-04-21 13:34:40 +02:00
Hakim El Hattab
8c52b32a18 add transitionend event and docs 2020-04-21 10:54:00 +02:00
Hakim El Hattab
91953207a5 simplify plugin controller 2020-04-21 09:50:19 +02:00
Hakim El Hattab
d22c7bfad1 tidying up 2020-04-21 09:36:43 +02:00
Hakim El Hattab
6ff28af1b3 separate public/internal reveal.js apis 2020-04-20 09:16:08 +02:00
Hakim El Hattab
e58502b3fb tweak plugin initialization to enable multi-instance plugins 2020-04-17 14:10:56 +02:00
Hakim El Hattab
4f6bdf1420 two js bundles; reveal.js (es6) and reveal.es5.js, add source maps 2020-04-17 10:59:55 +02:00
Hakim El Hattab
d9690462e0 add 'plugins' config option, new way of registering es5 plugins 2020-04-17 09:47:03 +02:00
Hakim El Hattab
08f29f08a2 initialize plugins serially 2020-04-16 16:40:46 +02:00
Hakim El Hattab
7b151c2320 support including plugins via <script> instead of dependencies 2020-04-16 15:45:25 +02:00
Hakim El Hattab
34458a988a fix code highlighting in markdown decks 2020-04-16 15:27:44 +02:00
Hakim El Hattab
d54353c4e1 switch to rollup for easier build config 2020-04-16 14:51:34 +02:00
Hakim El Hattab
d03fc04f61 allow reveal.js instances to be created with only options 2020-04-15 10:30:49 +02:00
Hakim El Hattab
a55cd813be convert plugins to ES modules, transpile es5 versions backwards compatibility 2020-04-15 10:23:51 +02:00
Hakim El Hattab
9522357349 changes to plugin api; registerPlugin only accepts plugin instance, instance exposes .id 2020-04-08 13:05:28 +02:00
Hakim El Hattab
6030043036 move pointer logic out to own controller 2020-04-07 13:25:46 +02:00
Hakim El Hattab
1081bbfc03 improvements to legacy API 2020-04-07 09:40:11 +02:00
Hakim El Hattab
855cc82d76 Reveal.add/remveEventListener -> Reveal.on/off 2020-04-07 09:05:56 +02:00
Hakim El Hattab
f24620018f don't style html element if reveal.js is embedded 2020-04-06 14:35:48 +02:00
Hakim El Hattab
ff62b96a5d move body styles to new .reveal-viewport 2020-04-06 13:49:39 +02:00
Hakim El Hattab
f26fc20b55 test and examples for multiple reveal.js instances on one page 2020-04-06 11:22:54 +02:00
Hakim El Hattab
9ebf6249e7 tweaks and comments 2020-04-06 10:39:48 +02:00
Hakim El Hattab
ca29e3dd29 webpack config + babel-loader 2020-03-31 13:23:51 +02:00
Hakim El Hattab
dbbd82579e fix unit tests, use qunit-puppeteer for es6 support 2020-03-31 13:06:58 +02:00
Hakim El Hattab
fe75be1cff fix issue where slide transitions were still running for auto-animated slides in Safari 2020-03-30 13:29:52 +02:00
Hakim El Hattab
34ab7ded55 only carry forward fragment visibiltiy if style remains unchanged 2020-03-19 16:27:42 +01:00
Hakim El Hattab
4d1cb43faf auto-animate; carry forward fragment visibility, unmatched elements adhere to duration/delay attributes 2020-03-19 15:18:14 +01:00