Commit Graph

200 Commits

Author SHA1 Message Date
hakimel
4e8a1b3802 fix issue with internal links 2021-11-11 08:16:28 +01:00
hakimel
a6c0f3efac refactor hash parsing, fixes issue with autoplaying media not starting from internal links on mobile devices 2021-11-10 20:08:37 +01:00
Jens Lechtenbörger
62a85d55f8 Add generated files 2021-10-06 17:51:11 +02:00
hakimel
05e57dea66 fix issue with loading base64 images #2978 2021-09-28 13:02:16 +02:00
Hakim El Hattab
0da9821e90 fix spec 2021-09-20 09:06:57 +02:00
Hakim El Hattab
ad50dd513f add 'slidechange' event that can prevent navigation #3003 2021-09-16 11:15:41 +02:00
Hakim El Hattab
2aed592d1f fix last slide shortcut in looped presentations #3007 2021-09-16 10:43:40 +02:00
Hakim El Hattab
6727cd6ecb fix bug that prevented first-last slide looping in linear navigation mode (closes #3009) 2021-09-16 10:43:40 +02:00
Hakim El Hattab
90bbe8be4f new shortcuts; alt+arrow key skips fragments, shift+arrow key jumps to last slide in the given direction #1105 2021-09-06 13:02:58 +02:00
Hakim El Hattab
01d8d669bc check for slides container too #2217 2021-08-27 09:48:53 +02:00
Hakim El Hattab
e237fea99a better error message when '.reveal' root node is missing #2217 2021-08-27 09:40:33 +02:00
Hakim El Hattab
ade234576e 4.1.3 - accidentally published a local change to npm -_- 2021-06-09 14:38:57 +02:00
Hakim El Hattab
a453ac08a8 4.1.2 2021-06-09 14:14:55 +02:00
Blair MacIntyre
76a81939a7 prepend --r- to global style variables
When embedding reveal in a website, this will help avoid global variable conflicts with other frameworks that use global styles via variables.
2021-06-04 07:40:40 -04:00
Hakim El Hattab
c27e3b5ff2 add data-auto-animate-id to auto-animate examples #2896 2021-05-27 10:01:16 +02:00
Hakim El Hattab
83648bb9eb recompile assets 2021-05-27 09:46:32 +02:00
Hakim El Hattab
c2fd760f8f replace deprecated hljs.highlightBlock calls, fix #2958 2021-05-21 09:13:40 +02:00
Hakim El Hattab
ac410debf6 rebuild assets 2021-05-20 18:42:31 +02:00
Hakim El Hattab
395356a0b1 update deps & drop node/gulp-sass in order to support node 16 #2959 2021-05-19 21:48:42 +02:00
Hakim El Hattab
892c752a4b merge #2843 with minor tweaks 2021-05-05 11:02:02 +02:00
Hakim El Hattab
236d3e3722 tidy up code for #2940 2021-04-28 09:03:27 +02:00
Hakim El Hattab
6d735ddaf8 stop playing media inside of fragments when the fragment is hidden 2021-04-23 10:56:18 +02:00
Hakim El Hattab
be110fad11 prevent accidental swipe gestures when scrubbing video/audio timelines 2021-04-12 11:17:06 +02:00
Hakim El Hattab
1de653a95a reduce tab size in code blocks from 8 to 2 2021-02-04 14:17:27 +01:00
Hakim El Hattab
2e805c9193 fix bug where slide-spcific background transitions were overruled by global transition setting 2021-01-08 15:03:33 +01:00
Hakim El Hattab
f576b98fbd rerun r-fit-text based on printed slide size, fixes overflow when printing to PDF #2865 2020-12-17 08:49:51 +01:00
Hakim El Hattab
1e70d9fe46 upgrade to node-sass 5.0 (adds support for node 15.x) #2841 2020-11-25 15:06:29 +01:00
Hakim El Hattab
ffadcc8502 v4.1.0 2020-10-12 11:38:26 +02:00
Hakim El Hattab
4d62dcc674 Merge branch 'master' of github.com:hakimel/reveal.js into dev 2020-09-09 10:26:42 +02:00
Hakim El Hattab
faa8b56e2a dependency upgrades 2020-08-19 10:33:36 +02:00
Michael Mior
a150d0c5dd Start relative paths in CSS with ./ 2020-08-18 12:49:49 -04:00
Hakim El Hattab
3a99a7b70a shuffle now applies to vertical slides as well 2020-08-17 14:42:27 +02:00
Sven Kraus
9aa6a029c3 add newly built version to 2020-07-29 15:43:21 +02:00
Hakim El Hattab
9ff27cfbc9 bg videos remain muted on mobile, otherwise broken when navigating with swipe gestures 2020-06-16 11:20:15 +02:00
Hakim El Hattab
2fccb77405 add 'playsinline' to all inline videos, dont mute background videos on mobile 2020-06-16 10:27:09 +02:00
Hakim El Hattab
cd2a792416 allow images inside of h/vstacks to be proportionally downsized 2020-06-09 13:31:21 +02:00
Hakim El Hattab
be460814ac correct scope for fit-text selector 2020-06-09 10:32:56 +02:00
Hakim El Hattab
aa6677911c fit-text helper now triggers lazyily when slide enters view distance 2020-06-09 10:28:01 +02:00
Hakim El Hattab
1b6a3b1e6f add support for auto-sized big text via r-fit-text 2020-06-05 13:17:43 +02:00
Hakim El Hattab
66cbd66fb6 fix slide numbering issue with uncounted horizontal slides (fixes #2675) 2020-06-05 11:47:46 +02:00
Hakim El Hattab
166af89353 all themes now have contrasting text colors based on slide bg 2020-06-05 10:03:07 +02:00
Hakim El Hattab
ac79c7cd8b leave the progress bar empty if there's < 2 slides 2020-06-05 09:37:44 +02:00
Hakim El Hattab
d272628f58 add support for data-visibility=hidden 2020-06-02 13:47:34 +02:00
Hakim El Hattab
c91074761a don't write '#/' to url on first slide, remove history api feature detection 2020-06-02 09:08:00 +02:00
Hakim El Hattab
7ebade7248 remove 20px vertical padding on slide sections 2020-06-02 08:46:24 +02:00
Hakim El Hattab
61624aeafb 🤦 2020-06-01 16:07:49 +02:00
Hakim El Hattab
cd5c9c5b9d build js 2020-06-01 16:02:55 +02:00
Hakim El Hattab
bd19860b4d 4.0.2 2020-05-29 12:10:28 +02:00
Hakim El Hattab
1569a4afba remove overzealous pdf resets 2020-05-29 10:14:31 +02:00
Hakim El Hattab
9f90f32e26 recompile css 2020-05-28 22:28:54 +02:00
Hakim El Hattab
2255c60254 fix progress bar direction in rtl mode 2020-05-27 19:46:49 +02:00
Hakim El Hattab
eb026f79b4 Reveal.configure() now works pre-initialization 2020-05-27 15:34:12 +02:00
Hakim El Hattab
0c9c9d55f3 add Reveal.isReady to pre-initialized API 2020-05-27 13:15:26 +02:00
Hakim El Hattab
b1e5db0ec9 data-autoslide attribute takes precedence over video duration 2020-05-26 10:56:02 +02:00
Hakim El Hattab
b7487b8b4f polyfill element.closest for ie11 2020-05-26 10:45:05 +02:00
Hakim El Hattab
e6244a57b5 fix polyfills, add ie11 support 2020-05-26 09:47:01 +02:00
Hakim El Hattab
b074050a6d 4.0.1, remove date from built files 2020-05-25 16:21:41 +02:00
Lee Sheng Long
fc4294365b update dist/reveal bundles 2020-05-22 00:03:14 +10:00
Hakim El Hattab
35db006c02 fix overlapping ids when auto-animating multiple presentations in same window 2020-05-20 19:14:45 +02:00
Hakim El Hattab
cd5161ffe9 initial work for hstack and vstack 2020-05-20 14:33:52 +02:00
Hakim El Hattab
38eda3aada fix livereload 2020-05-20 12:08:57 +02:00
Hakim El Hattab
df61f9e1fa progress bar width set via scale instead of width for perf 2020-05-20 10:42:55 +02:00
Hakim El Hattab
a1f03cb337 Reveal.VERSION is now available prior to initialization #2651 2020-05-19 20:27:45 +02:00
Hakim El Hattab
84b52984cd update dependencies 2020-05-19 18:44:40 +02:00
Hakim El Hattab
4f2293378b reveal.netlify.app -> revealjs.com 2020-05-19 18:27:00 +02:00
Hakim El Hattab
5e5013645d move fonts from lib/fonts to dist/theme/fonts 2020-05-19 11:03:16 +02:00
Hakim El Hattab
9d11927066 auto-animate example in demo 2020-05-19 10:22:24 +02:00
Hakim El Hattab
f618de81de restore support for markdown speaker notes 2020-05-18 20:36:34 +02:00
Hakim El Hattab
3d2371f58c bundle html inside of notes.js, no more need for relatively locating external html 2020-05-18 15:59:18 +02:00
Hakim El Hattab
fb22716ddf move built plugin files from /dist/plugin/ to /plugin/<name>/ 2020-05-18 14:41:56 +02:00
Hakim El Hattab
30cd9a8d3b remove default border around images, now available via img.r-frame 2020-05-14 12:39:45 +02:00
Hakim El Hattab
f04a00672c fix and tests for custom key bindings in help overlay 2020-05-12 13:33:19 +02:00
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