Hakim El Hattab
c23964274c
reader mode -> scroll view, auto-enable below 435px width
2023-10-25 13:58:06 +02:00
Hakim El Hattab
e46bad392a
fix scroll snapping in reader mode compact layout
2023-10-25 13:08:41 +02:00
Hakim El Hattab
ff252c984f
reader mode now works for embedded decks
2023-10-25 11:32:40 +02:00
Hakim El Hattab
0072845828
? keyboard shortcut should not trigger when focus is on an editable element fixes #2645
2023-10-25 11:04:53 +02:00
Hakim El Hattab
aa5c03c234
reader mode remembers scroll position when reloading
2023-10-23 13:08:17 +02:00
Hakim El Hattab
ff3244af7a
reader mode refactoring
2023-10-23 11:24:50 +02:00
Hakim El Hattab
49c0030392
improved reader progress bar visuals in high density
2023-10-20 21:02:04 +02:00
Hakim El Hattab
51acc830f9
major cleanup of reader mode code
2023-10-20 20:23:31 +02:00
Hakim El Hattab
cc9a36dc25
massive reader mode refactor; adds support for auto-animate + snapping for fragments
2023-10-20 10:18:34 +02:00
Hakim El Hattab
a9031821ef
add scroll snap points for reader mode scroll triggers
2023-10-18 11:16:06 +02:00
Hakim El Hattab
57ce5a5e3d
===
2023-10-17 14:03:00 +02:00
Hakim El Hattab
c4e322ce79
don't show reader scroll bar when there is no overflow, reader style tweaks
2023-10-17 13:59:11 +02:00
Hakim El Hattab
7108476911
Merge branch 'master' into feature/reader-mode
2023-10-12 14:04:36 +02:00
Hakim El Hattab
b8b55b8d4c
readerScrollBar -> readerScrollbar
2023-10-12 14:03:28 +02:00
Hakim El Hattab
a7d0916f28
reader mode accessibility, bug fixes
2023-10-12 13:58:10 +02:00
Hakim El Hattab
198cbc4ace
reader mode tweaks
2023-10-12 13:39:44 +02:00
Hakim El Hattab
d802789c4d
more accurate scroll trigger positioning in progress bar
2023-10-12 11:09:47 +02:00
Hakim El Hattab
980b902a9d
disable overview while in reader mode
2023-10-11 10:42:47 +02:00
Hakim El Hattab
122642fdea
reader progress theming, automatically invert based on slide bg
2023-10-11 09:51:03 +02:00
Hakim El Hattab
09f36adc70
mobile tweaks
2023-10-11 08:24:06 +02:00
Hakim El Hattab
2c5a83c945
refactoring
2023-10-10 14:47:08 +02:00
Hakim El Hattab
a6abd0423e
finishing touches on reader mode progress bar
2023-10-10 13:34:33 +02:00
Hakim El Hattab
234799114a
reader mode progress bar can be dragged to scroll
2023-10-10 11:16:31 +02:00
Hakim El Hattab
f80ee3b917
reader mode progress bar
2023-10-10 10:24:02 +02:00
Hakim El Hattab
1871824fae
reader mode; named deeplink support, stay on same slide when reader mode is turned on/off
2023-10-06 11:37:58 +02:00
Hakim El Hattab
1f1ca3a887
refactoring
2023-10-06 10:07:19 +02:00
Hakim El Hattab
d84aa3472e
reader mode tests
2023-10-06 09:52:21 +02:00
Hakim El Hattab
ab52d334df
add support for responsively activating reader mode via
2023-10-06 09:14:23 +02:00
NGUYEN DINH Quoc-Huy
42a1844d27
Support to 'wheel' event listener
2023-10-06 15:03:32 +11:00
Hakim El Hattab
899a45dff6
update api method name
2023-10-05 14:24:13 +02:00
Hakim El Hattab
3db2340df3
fix issues with active slide logic in reader mode, foundational work for auto-animate support
2023-10-05 14:06:06 +02:00
Hakim El Hattab
88fbfc5751
fix incorrect unit for slide-width/height css variable #1263
2023-09-26 10:20:29 -04:00
Hakim El Hattab
c856fa9db1
dispatch slidechange events in reader mode
2023-09-25 12:32:46 +02:00
Hakim El Hattab
4c9cc89566
refactoring, remove unused layout
2023-09-22 10:31:34 +02:00
Hakim El Hattab
97f2e184c1
fix preload bug
2023-09-21 14:15:46 +02:00
Hakim El Hattab
e49e89a557
reader mode supports scroll snapping, sticky pages with scroll triggers are always full height
2023-09-21 13:35:49 +02:00
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