Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated reveal.js to 5.0.4 #28

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion presenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ protected function __construct() {
add_action( 'init', array( $this, 'init_locale' ) );

add_shortcode( 'presenter-url', array( $this, 'url_shortcode' ) );
add_filter('post_row_actions', array($this, 'add_view_links'), 10, 2);
}

public function add_view_links($actions, $post) {
$permalink = get_permalink($post->ID);
$actions['print_view'] = '<a href="' . esc_url(add_query_arg('view', 'print', $permalink)) . '">Print View</a>';
$actions['scroll_view'] = '<a href="' . esc_url(add_query_arg('view', 'scroll', $permalink)) . '">Scroll View</a>';
return $actions;
}

public function init_locale() {
Expand Down Expand Up @@ -431,7 +439,14 @@ public function footer() {
}

public function admin_init() {
add_meta_box( 'slides', 'Slides', array( $this, 'slides_meta_box' ), 'slideshow', 'normal', 'core');
add_meta_box(
'slides',
'Slides',
array( $this, 'slides_meta_box' ),
'slideshow',
'normal',
'core'
);
add_meta_box( 'pageparentdiv', __( 'Slideshow Attributes', $this->_slug ), array( $this, 'slideshow_attributes_meta_box' ), 'slideshow', 'side', 'default' );
}

Expand Down
2 changes: 1 addition & 1 deletion reveal.js
Submodule reveal.js updated 99 files
+20 −13 .github/workflows/js.yml
+0 −2 .npmignore
+1 −1 LICENSE
+5 −21 README.md
+31 −38 css/print/paper.scss
+6 −3 css/print/pdf.scss
+322 −40 css/reveal.scss
+3 −0 css/theme/source/beige.scss
+49 −0 css/theme/source/black-contrast.scss
+1 −1 css/theme/source/black.scss
+106 −0 css/theme/source/dracula.scss
+0 −4 css/theme/source/moon.scss
+3 −0 css/theme/source/serif.scss
+3 −0 css/theme/source/simple.scss
+3 −0 css/theme/source/sky.scss
+3 −0 css/theme/source/solarized.scss
+52 −0 css/theme/source/white-contrast.scss
+3 −0 css/theme/source/white.scss
+2 −0 css/theme/template/exposer.scss
+5 −0 css/theme/template/settings.scss
+21 −16 demo.html
+3 −3 dist/reveal.css
+3 −3 dist/reveal.esm.js
+1 −1 dist/reveal.esm.js.map
+3 −3 dist/reveal.js
+1 −1 dist/reveal.js.map
+9 −7 dist/theme/beige.css
+362 −0 dist/theme/black-contrast.css
+3 −1 dist/theme/black.css
+2 −0 dist/theme/blood.css
+385 −0 dist/theme/dracula.css
+9 −7 dist/theme/league.css
+2 −5 dist/theme/moon.css
+2 −0 dist/theme/night.css
+2 −0 dist/theme/serif.css
+2 −0 dist/theme/simple.css
+2 −0 dist/theme/sky.css
+2 −0 dist/theme/solarized.css
+362 −0 dist/theme/white-contrast.css
+2 −0 dist/theme/white.css
+360 −0 dist/theme/white_contrast_compact_verbatim_headers.css
+526 −0 examples/500-slides.html
+31 −0 examples/auto-animate.html
+19 −0 examples/markdown.html
+118 −0 examples/scroll.html
+14 −12 gulpfile.js
+1 −1 index.html
+37 −0 js/config.js
+23 −9 js/controllers/autoanimate.js
+51 −15 js/controllers/backgrounds.js
+5 −6 js/controllers/fragments.js
+197 −0 js/controllers/jumptoslide.js
+15 −21 js/controllers/keyboard.js
+9 −7 js/controllers/location.js
+16 −10 js/controllers/notes.js
+1 −1 js/controllers/overview.js
+2 −2 js/controllers/plugins.js
+4 −7 js/controllers/pointer.js
+28 −17 js/controllers/printview.js
+888 −0 js/controllers/scrollview.js
+17 −10 js/controllers/slidecontent.js
+13 −6 js/controllers/slidenumber.js
+350 −103 js/reveal.js
+8 −2 js/utils/constants.js
+1 −8 js/utils/device.js
+16 −0 js/utils/util.js
+7,114 −13,622 package-lock.json
+27 −23 package.json
+2 −2 plugin/highlight/highlight.esm.js
+4 −4 plugin/highlight/highlight.js
+2 −2 plugin/highlight/plugin.js
+7 −1 plugin/markdown/markdown.esm.js
+7 −1 plugin/markdown/markdown.js
+64 −48 plugin/markdown/plugin.js
+6 −1 plugin/math/math.esm.js
+1 −1 plugin/math/math.js
+1 −1 plugin/notes/notes.esm.js
+1 −1 plugin/notes/notes.js
+43 −14 plugin/notes/plugin.js
+20 −13 plugin/notes/speaker-view.html
+1 −1 plugin/search/plugin.js
+2 −2 plugin/search/search.esm.js
+2 −2 plugin/search/search.js
+8 −1 plugin/zoom/zoom.esm.js
+8 −1 plugin/zoom/zoom.js
+1 −0 test/test-auto-animate.html
+1 −0 test/test-dependencies-async.html
+5 −1 test/test-dependencies.html
+5 −1 test/test-grid-navigation.html
+2 −0 test/test-iframe-backgrounds.html
+2 −0 test/test-iframes.html
+36 −0 test/test-markdown.html
+1 −0 test/test-multiple-instances-es5.html
+1 −0 test/test-multiple-instances.html
+5 −0 test/test-pdf.html
+1 −0 test/test-plugins.html
+115 −0 test/test-scroll.html
+65 −67 test/test-state.html
+2 −0 test/test.html