Yuki Takei пре 3 година
родитељ
комит
f0b3d2a9dd
1 измењених фајлова са 4 додато и 1 уклоњено
  1. 4 1
      packages/presentation/src/components/PresentationWithReveal.tsx

+ 4 - 1
packages/presentation/src/components/PresentationWithReveal.tsx

@@ -17,7 +17,10 @@ export const Presentation = (props: Props): JSX.Element => {
 
 
   useEffect(() => {
   useEffect(() => {
     if (children != null) {
     if (children != null) {
-      Reveal.initialize();
+      Reveal.initialize({
+        hash: true,
+        pageNumber: true,
+      });
     }
     }
   }, [children]);
   }, [children]);