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
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
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
2e8619d300
remove unused variable, update multi-instance example in readme
2020-04-08 11:46:46 +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
9ebf6249e7
tweaks and comments
2020-04-06 10:39:48 +02:00
Hakim El Hattab
e4faf54804
move history api feature detection to utils
2020-03-31 13:09:44 +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
Hakim El Hattab
376b8230bb
unmatched auto-aniamte elements now adhere to element-level duration/delay attributes
2020-03-17 19:38:26 +01:00
Hakim El Hattab
2540712714
switch old toArray helper to Array.from
2020-03-16 15:18:47 +01:00
Hakim El Hattab
6ff4e9306c
move progress bar to new module
2020-03-16 14:30:36 +01:00
Hakim El Hattab
c50ec00419
new controls module for navigation arrows
2020-03-16 13:53:23 +01:00
Hakim El Hattab
2a06e0d1e5
create background element from bg controller
2020-03-16 13:10:50 +01:00
Hakim El Hattab
97ee72549b
new controller for speaker notes
2020-03-16 11:45:47 +01:00
Hakim El Hattab
2b02f3a1f9
reduce comments related to controller initialization
2020-03-15 20:22:04 +01:00
Hakim El Hattab
f7c29b788e
move slide backgrounds to new module
2020-03-14 09:25:48 +01:00
Hakim El Hattab
b42bb586a8
new controller for pdf printing
2020-03-14 08:27:29 +01:00
Hakim El Hattab
8709a41979
only announce current fragment to screen readers
2020-03-13 08:58:59 +01:00
Hakim El Hattab
92e3a3680c
Merge branch 'dev_repackagePrintStyleSheets' of https://github.com/quilicicf/reveal.js into dev
2020-03-12 19:20:15 +01:00
Hakim El Hattab
4f280f77b0
update logic for disabling fragments via config option
2020-03-12 19:11:19 +01:00
Hakim El Hattab
bff9bfb101
add support for automatically scrolling code highlights into view
2020-03-12 17:08:20 +01:00
quilicicf
ffac5fe696
Remove accessible slide status when printing to PDF
2020-03-12 16:14:14 +01:00
quilicicf
6564950c28
Hide the status element off-screen to avoid additional page in PDF print
2020-03-12 13:04:15 +01:00
quilicicf
499dc68536
Package paper and pdf style sheets and apply them conditionally
2020-03-11 13:10:06 +01:00
Hakim El Hattab
5a5a5c9a6c
break touch interaction into own module
2020-03-11 08:13:53 +01:00
Hakim El Hattab
e32f38740c
move read/write url to location controller
2020-03-10 21:30:39 +01:00
Hakim El Hattab
3683ad255d
add slidenumber & location controllers
2020-03-10 21:08:11 +01:00
Hakim El Hattab
ac15678dea
refactoring
2020-03-10 20:40:35 +01:00
Hakim El Hattab
3d6212378a
new keyboard module
2020-03-10 20:28:56 +01:00
Hakim El Hattab
ddbe06eb7e
adjustments to reveal.js initialization flow
2020-03-10 18:37:40 +01:00
Hakim El Hattab
9336fc11ca
correction for reveal api
2020-03-10 15:26:40 +01:00
Hakim El Hattab
5d179ed4c2
Merge pull request #2631 from christian-classics-ethereal-library/squarePresentationLinear
...
Navigation Arrows: Fix visibility bug in linear navigation mode
2020-03-10 10:40:18 +01:00
Hakim El Hattab
9a2160536d
tweaks and updated docs for #2627
2020-03-10 10:18:37 +01:00
Hakim El Hattab
4ff79dbc9d
Merge branch 'dev' into dev_importBundledPlugins
2020-03-10 10:01:14 +01:00
Hakim El Hattab
cce59072dc
fix controller api methods
2020-03-09 21:04:31 +01:00
Hakim El Hattab
cd78bbd48d
move overview to new module
2020-03-09 20:57:25 +01:00
Hakim El Hattab
75ef44ca69
statusDiv -> statusElement
2020-03-09 18:57:49 +01:00
Hakim El Hattab
8a43753000
move fragments to separate controller
2020-03-09 18:51:07 +01:00
Zach DeCook
0e5a4478d1
* Control Arrows: Fix visibility bug in linear navigation mode
2020-03-09 13:02:03 -04:00
Hakim El Hattab
bdedc56d6f
comments
2020-03-09 16:01:50 +01:00
Hakim El Hattab
d42d88dae4
break autoanimate and loading of slide content into separate controllers
2020-03-09 14:44:57 +01:00
quilicicf
d378ab2e63
Add bundler-friendly dependency injection
2020-03-09 13:28:06 +01:00
Hakim El Hattab
3f95a21009
fix markdown example
2020-03-09 09:33:27 +01:00
Hakim El Hattab
49bb498d9d
add color, constant and loader modules
2020-03-07 18:48:39 +01:00
Hakim El Hattab
d4a030f953
move plugin logic to Plugins controller
2020-03-07 18:22:19 +01:00
Hakim El Hattab
20b8def298
move script loader to utils
2020-03-07 14:18:03 +01:00
Hakim El Hattab
f968927bff
scope all query selection to .reveal
2020-03-07 14:12:28 +01:00