Changeset 2185006
- Timestamp:
- 11/02/2019 06:49:39 PM (6 years ago)
- Location:
- slide/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
slide/trunk/index.php
r2184973 r2185006 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.3 37 * Version: 0.0.34 8 8 * Author: Ella van Durpe 9 9 * Author URI: https://ellavandurpe.com -
slide/trunk/readme.md
r2184973 r2185006 6 6 Requires PHP: 5.6 7 7 Tested up to: 5.3 8 Stable tag: 0.0.3 38 Stable tag: 0.0.34 9 9 License: GPL-2.0-or-later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
slide/trunk/template.php
r2184973 r2185006 32 32 } 33 33 34 @media print { 35 .print-pdf #wpadminbar { 36 display: none; 37 } 38 } 39 34 .print-pdf #wpadminbar, 40 35 .receiver #wpadminbar { 41 36 display: none; … … 248 243 const svg = event.currentSlide.getAttribute( 'data-background-svg' ); 249 244 245 console.log( event ); 246 250 247 if ( ! svg ) { 251 248 return; 252 249 } 253 250 251 const targetBackgound = document.querySelectorAll( '.slide-background' )[ event.indexh ]; 252 253 if ( ! targetBackgound ) { 254 return; 255 } 256 254 257 window.setTimeout( () => { 255 const background = document.querySelector( '.slide-background.present .slide-background-content' ); 256 background.innerHTML = svg; 258 targetBackgound.innerHTML = svg; 257 259 } ); 258 260 }
Note: See TracChangeset
for help on using the changeset viewer.