Hakim El Hattab
f0950ba9ae
rename 'mode' config value to 'view'
2023-09-20 16:11:31 +02:00
Hakim El Hattab
0861b07618
revamped reader mode sticky logic, add option for fullscreen pages
2023-09-20 15:00:15 +02:00
Hakim El Hattab
5de7da7692
reader mode can be turned off without reload, add Reveal.toggleReader()
2023-09-19 11:52:54 +02:00
Hakim El Hattab
07a6cf1249
fix empty slide bug when all slides in a stack are hidden via data-visibility
2023-09-15 13:48:26 +02:00
Hakim El Hattab
4da6f6b30f
refactoring, fix preload distance
2023-09-14 15:17:28 +02:00
Hakim El Hattab
eaf5f61318
reader mode; deeplink support, presentation scaling, scroll trigger fixes
2023-09-14 15:03:23 +02:00
Hakim El Hattab
f26d31570e
separate reader mode into individual controller, add scroll triggers for fragments
2023-09-14 13:00:31 +02:00
Hakim El Hattab
6aa1eae796
foundation for reader mode, activate via 'mode=reader/print' config param
2023-09-12 17:00:56 +02:00
Hakim El Hattab
c5307462b0
4.6.0
2023-09-12 09:16:24 +02:00
Hakim El Hattab
680cf5edb8
add start/stopEmbeddedMedia API methods for controlling playback of video/audio/iframes
2023-08-25 08:51:52 +02:00
Thomas Fritsch
27ff199627
add support for links to the id of an element nested inside slide
...
fixes hakimel/reveal.js#3231
2023-08-05 16:24:22 +02:00
Hakim El Hattab
c8a7f26229
fix issue where fragment-evel autoslide timing was when multiple fragments share the same index
2023-08-03 16:00:00 +02:00
Hakim El Hattab
12f5ba4c9d
auto-slide duration falls back on global setting instead of looking at first fragment
2023-06-16 12:11:46 +02:00
Hakim El Hattab
227f90fa00
fix code block auto-animate bug that caused unmatched lines to appear without fading in
2023-05-31 09:07:10 +02:00
Hakim El Hattab
0301ce58ab
4.5.0
2023-04-13 13:50:05 +02:00
Hakim El Hattab
cd019514f3
rename high contrast themes, dont change anything else compared to black/white themes #3310
2023-02-22 10:21:31 +07:00
Elliot" Constantin H
dcae8a4dc9
Fix overview spacing for disabled auto layout ( #3291 )
...
* Fix overlap in overview when config.disableLayout === true
* run gulp js
after commit 9193e5cd5d6d1aa234803b753c6d032b801a8221
---------
Co-authored-by: Hakim El Hattab <hakim.elhattab@gmail.com>
2023-02-22 04:01:21 +01:00
Hakim El Hattab
7de6ccb65b
add sortFragmentsOnSync option, makes it possible to avoid unwanted sorting in editing environments like slides.com
2023-02-16 09:48:48 +07:00
Martino
ea6b7197c7
Add RFC3986-compliant URL format encoding
...
Fixes https://github.com/hakimel/reveal.js/issues/3315
2023-02-13 10:02:15 +01:00
Andreas Deininger
32a16295c3
Fixes typos
2023-01-25 14:13:31 +01:00
hakimel
3301d3036e
fix incorrect condition for jump-to-slide
2023-01-17 10:56:45 +01:00
hakimel
fb1fecd754
enforce a min length on jump to slide search queries
2023-01-17 10:30:35 +01:00
hakimel
efcc86273b
jump-to-slide is 1-indexed, falls back on word search
2023-01-17 09:49:49 +01:00
hakimel
282680e163
delay slide jumps a few ms
2023-01-16 14:43:50 +01:00
hakimel
79e9fdf13f
add jump-to-slide to help overlay, style tweaks
2023-01-16 12:33:37 +01:00
hakimel
d146c1ddc1
adds jump-to-slide, press G to activate
2023-01-16 11:41:19 +01:00
hakimel
f6f657b627
4.4.0
2022-10-17 09:46:41 +02:00
hakimel
8a97ad58b0
prevent extra \n at end of single notes #3010
2022-09-05 11:10:32 +02:00
hakimel
01efcf2d92
merge support for multiple notes on same slide
2022-09-05 10:47:47 +02:00
hakimel
b23d15c430
fix issue were auto-animate could interfere with inherited line-height
2022-08-14 19:55:24 +02:00
hakimel
5a031c07b6
fix issues with overflowing fit-text when exporting to pdf #3191 #3120
2022-05-31 11:50:26 +02:00
hakimel
3dade61176
notes plugin only listens for same-origin postmessages to prevent xss
2022-05-12 22:07:48 +02:00
hakimel
0ca389721c
add support for 'data-background-gradient' #2510
...
Co-authored-by: Giacomo Zinetti <giacomo.zinetti@giko.it>
2022-05-02 14:49:21 +02:00
hakimel
eada286ca0
fix issue where auto-animate did not work when jumping three or more slides (i.e. longer than the view distance)
2022-04-28 13:38:30 +02:00
hakimel
286d5ef561
made data-background attribute work with .webp #3200
2022-04-25 08:45:43 +02:00
hakimel
1767e76cdc
fix issue with #3182 when slide numbers are disabled
2022-04-04 15:33:44 +02:00
Hakim El Hattab
25ed8f2c47
Merge branch 'master' into fix-pdf-page-numbering
2022-04-04 15:25:14 +02:00
hakimel
914b2aea83
fix inconsistent fragment visibility in looping presentations #3123
2022-04-04 15:11:57 +02:00
Chi Vong
953aaad83a
fix: pdf page numbering for fragment group
2022-04-02 18:59:46 +02:00
hakimel
e281b3234e
always use css transforms for presentation scaling (zoom has too many quirks even if it is slightly sharper on ldpi displays)
2022-03-31 11:19:55 +02:00
hakimel
3fcf0db96e
4.3.1
2022-03-21 10:39:51 +01:00
Tobias Speicher
a5d1b68800
replace deprecated String.prototype.substr()
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-20 16:17:42 +01:00
hakimel
37861335a2
add getSlidePath API method, update URL tests to work with new replaceState throttle
2022-03-09 11:10:26 +01:00
hakimel
2a239aedca
debounce messages from notes -> main window, fixes #3147
2022-03-09 10:25:30 +01:00
hakimel
fc861fca50
throttle calls to replaceState to fix security error when navigating quickly in Safari #3147
2022-03-09 09:44:31 +01:00
hakimel
853764bc8c
4.3.0
2022-02-28 10:03:16 +01:00
hakimel
ffd533c40d
4.2.2
2022-02-28 09:49:40 +01:00
hakimel
5e12c6aeb7
additional cleanup when destroying #1145
2022-02-21 14:28:11 +01:00
hakimel
1e0cbe6779
reveal.js can now be uninitialized by calling Reveal.destroy() #1145 #3134
2022-02-21 13:41:36 +01:00
hakimel
dbb1d5ed19
2022
2022-01-03 12:38:51 +01:00
hakimel
b7d65be051
fix fullscreen issues; correct size in Safari, auto-focus presentation when entering fullscreen #3080
2021-12-08 10:45:36 +01:00
hakimel
79a1674021
4.2.1
2021-12-06 12:11:39 +01:00
hakimel
74c0fbb6a2
fix read issue that caused double navigations fixes #3079
2021-11-24 11:30:12 +01:00
hakimel
c5d549810e
refactor #3078
2021-11-24 11:07:11 +01:00
vanch3d
bcf83153d7
adding type to the video source tag
2021-11-23 09:42:22 +00:00
hakimel
c79f4b5a4f
fix issue with deck-wide backgroudns in pdf exports + fix #2865
2021-11-16 14:10:29 +01:00
hakimel
2921e05554
4.2.0
2021-11-12 12:09:06 +01:00
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
cb454b0540
'slidechange' -> 'beforeslidechange' ( closes #3003 )
2021-09-20 09:00:17 +02:00
Jens Lechtenbörger
f9ce61e34a
Support multiple aside notes elements per slide
...
So far, multiple notes per slide are only supported if they are
attached to fragments (without fragments, only the first aside notes
element on a slide is displayed). With this commit, the contents of
all notes on a slide are displayed (except for fragments with notes,
for which, as before, only each fragment's first/single note is
displayed).
2021-09-16 11:56:52 +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
Hakim El Hattab
31c65975b2
Merge pull request #2896 from coffeenotfound/feature-auto-animate-restart
...
Implement auto-animate id and restart
2021-05-27 09:54:46 +02:00
Hakim El Hattab
48024a1137
4.1.1
2021-05-20 19:12:45 +02:00
Hakim El Hattab
892c752a4b
merge #2843 with minor tweaks
2021-05-05 11:02:02 +02:00
Hakim El Hattab
48598cb547
Merge pull request #2901 from sacproj/showPreview
...
Expose preview management functions
2021-05-05 10:05:55 +02:00
Hakim El Hattab
2beb336cdb
fix typo #2949 (thanks @SeanKilleen)
2021-05-05 10:00:28 +02:00
Hakim El Hattab
74f3c4b455
fix typo #2949 (thanks @SeanKilleen)
2021-05-05 09:59:41 +02:00
Hakim El Hattab
236d3e3722
tidy up code for #2940
2021-04-28 09:03:27 +02:00
Hakim El Hattab
a112712f12
Merge pull request #2940 from cmeessen/fix_multiple_data-background
...
Fix: multiple image-urls in data-background-image
2021-04-28 08:55:30 +02:00
cmeessen
5d8d673117
Add missing semicolons
2021-04-23 10:15:40 +00:00
Hakim El Hattab
6d735ddaf8
stop playing media inside of fragments when the fragment is hidden
2021-04-23 10:56:18 +02:00
Christian Meeßen
8347a2de58
Allow multiple data-background
2021-04-23 08:55:36 +00:00
Hakim El Hattab
444d127053
Merge pull request #2933 from csachs/hasDarkBackgroundNamedColor
...
Use computed background style if colorToRgb fails (fixes #2635 )
2021-04-14 13:20:42 +02:00
Hakim El Hattab
be110fad11
prevent accidental swipe gestures when scrubbing video/audio timelines
2021-04-12 11:17:06 +02:00
Christian Sachs
d1f6e6cce9
use computed background style if colorToRgb fails
...
fixes #2635
2021-04-11 13:25:36 +02:00
Stéphane Este-Gracias
2d050f83c1
Expose preview management functions
2021-02-13 01:20:37 +01:00
Stéphane Este-Gracias
9c83edbf13
Expose showPreview
2021-02-13 00:23:50 +01:00
Jan Katzer
cec99c5261
Implement auto-animate id and restart
2021-02-07 18:41:16 +01:00
Hakim El Hattab
90a0d2d449
typo
2021-02-04 15:25:46 +01:00
Jeroen Hermans
acafabf023
Merge branch 'dev' into jh/print-optimize
2020-12-20 17:44:20 +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
Jeroen Hermans
e57ff233a4
Group background reads and writes
2020-11-16 09:47:58 +01:00
Jeroen Hermans
10f02ece99
Group pdf setup reads and writes
2020-11-16 09:47:19 +01:00
Jeroen Hermans
33c4c1c5d2
Batch print DOM updates
2020-11-15 22:29:50 +01:00
Jeroen Hermans
49f78535d1
Use const in print controller
2020-11-15 22:29:23 +01:00
Jeroen Hermans
957f928c70
Prevent layout thrashing by scroll height
2020-11-15 22:29:23 +01:00
Jeroen Hermans
3d701edc71
Limit slide number DOM mutations
2020-11-15 22:01:50 +01:00
Jeroen Hermans
aaa7c02b5c
Prevent layout thrashing by status text
2020-11-15 21:54:05 +01:00
Jeroen Hermans
75480b5bf4
Remove unused argument
2020-11-15 21:46:33 +01:00
Jens Lechtenbörger
d2dff6a821
Fix target for click on progress bar
...
The progress bar shows how many slides have been passed in total.
However, when clicking on the progress bar, the target slide is
computed among the subset of /horizontal/ slides. Thus, when the new
slide is displayed, the progress bar has usually changed to a point
that is unrelated to the clicked one, which I find surprising.
With this change, the target slide is computed from the number of
total slides. Thus, after a click on the progress bar, the resulting
progress is close to the clicked point, which seems more natural to
me.
2020-11-08 17:39:04 +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
Tim Gates
2c121d22ac
docs: Fix simple typo, transiition -> transition
...
There is a small typo in js/controllers/autoanimate.js.
Should read `transition` rather than `transiition`.
2020-09-08 08:02:34 +10:00
Hakim El Hattab
3a99a7b70a
shuffle now applies to vertical slides as well
2020-08-17 14:42:27 +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
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
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
61624aeafb
🤦
2020-06-01 16:07:49 +02:00
Hakim El Hattab
942304d862
add --slide-width/height css variables
2020-06-01 16:00:54 +02:00
Hakim El Hattab
bd19860b4d
4.0.2
2020-05-29 12:10:28 +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
4e839b3d78
fix slide notes printing
2020-05-21 23:56:23 +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
f0b67ad6ea
4.0.0
2020-05-20 12:09:03 +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
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
f04a00672c
fix and tests for custom key bindings in help overlay
2020-05-12 13:33:19 +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
f2fbc59bcc
fix auto-animate error and spec
2020-04-29 11:39:45 +02:00
Hakim El Hattab
b84888214b
fix auto-animate bug on devices with < 2 devicePixelRatio
2020-04-29 10:00:25 +02:00
Hakim El Hattab
48ebc3b7e0
remove unused dependency, disable inconsistent 'slidetransitionend' test
2020-04-27 11:44:33 +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
f138f507a0
fix contenteditable check #2650
2020-04-22 11:59:23 +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