Changeset 2179945
- Timestamp:
- 10/25/2019 09:19:04 AM (6 years ago)
- Location:
- slide/trunk
- Files:
-
- 5 edited
-
index.js (modified) (3 diffs)
-
index.php (modified) (1 diff)
-
readme.md (modified) (1 diff)
-
register.php (modified) (1 diff)
-
template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
slide/trunk/index.js
r2177669 r2179945 37 37 const fontWeightHeadingKey = 'presentation-font-weight-heading'; 38 38 const transitionKey = 'presentation-transition'; 39 const backgroundTransitionKey = 'presentation-background-transition'; 39 40 const transitionSpeedKey = 'presentation-transition-speed'; 40 41 const controlsKey = 'presentation-controls'; … … 363 364 meta: { 364 365 ...meta, 365 [backgroundUrlKey]: undefined,366 [backgroundIdKey]: undefined,367 [backgroundPositionKey]: undefined,368 [backgroundOpacityKey]: undefined366 [backgroundUrlKey]: '', 367 [backgroundIdKey]: '', 368 [backgroundPositionKey]: '', 369 [backgroundOpacityKey]: '' 369 370 } 370 371 }); … … 444 445 value: meta[transitionKey], 445 446 onChange: (value) => updateMeta(value, transitionKey) 447 }), 448 e(SelectControl, { 449 label: __('Background Transition Style', 'slide'), 450 options: [ 451 { value: 'none', label: __('None', 'slide') }, 452 { value: 'fade', label: __('Fade', 'slide') }, 453 { value: 'slide', label: __('Slide', 'slide') }, 454 { value: 'convex', label: __('Convex', 'slide') }, 455 { value: 'concave', label: __('Concave', 'slide') }, 456 { value: 'zoom', label: __('Zoom', 'slide') } 457 ], 458 value: meta[backgroundTransitionKey], 459 onChange: (value) => updateMeta(value, backgroundTransitionKey) 446 460 }), 447 461 e(SelectControl, { -
slide/trunk/index.php
r2178439 r2179945 5 5 * Plugin URI: https://wordpress.org/plugins/slide/ 6 6 * Description: Allows you to create presentations with the block editor. 7 * Version: 0.0.1 67 * Version: 0.0.17 8 8 * Author: Ella van Durpe 9 9 * Author URI: https://ellavandurpe.com -
slide/trunk/readme.md
r2178439 r2179945 6 6 Requires PHP: 5.6 7 7 Tested up to: 5.3 8 Stable tag: 0.0.1 68 Stable tag: 0.0.17 9 9 License: GPL-2.0-or-later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
slide/trunk/register.php
r2177110 r2179945 66 66 'font-weight-heading', 67 67 'transition', 68 'background-transition', 68 69 'transition-speed', 69 70 'controls', -
slide/trunk/template.php
r2178439 r2179945 151 151 Reveal.initialize( { 152 152 transition: '<?php echo get_post_meta( get_the_ID(), 'presentation-transition', true ) ?: 'none'; ?>', 153 backgroundTransition: '<?php echo get_post_meta( get_the_ID(), 'presentation-background-transition', true ) ?: 'none'; ?>', 153 154 transitionSpeed: '<?php echo get_post_meta( get_the_ID(), 'presentation-transition-speed', true ) ?: 'default'; ?>', 154 155 controls: <?php echo get_post_meta( get_the_ID(), 'presentation-controls', true ) ?: 'false'; ?>,
Note: See TracChangeset
for help on using the changeset viewer.