Parcourir la source

include layout for notes outside of pdf exports

Hakim El Hattab il y a 8 ans
Parent
commit
4321266276
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      js/reveal.js

+ 1 - 0
js/reveal.js

@@ -948,6 +948,7 @@
 
 		if( config.showNotes ) {
 			dom.speakerNotes.classList.add( 'visible' );
+			dom.speakerNotes.setAttribute( 'data-layout', typeof config.showNotes === 'string' ? config.showNotes : 'inline' );
 		}
 		else {
 			dom.speakerNotes.classList.remove( 'visible' );