jack 2 days ago
parent
commit
a3a150fb2d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/hooks/useImport.ts

+ 2 - 2
src/hooks/useImport.ts

@@ -26,11 +26,11 @@ import type {
 } from '@/types/slides'
 
 const convertFontSizePtToPx = (html: string, ratio: number) => {
-  /*
+  return html;
   return html.replace(/font-size:\s*([\d.]+)pt/g, (match, p1) => {
     return `font-size: ${(parseFloat(p1) * ratio).toFixed(1)}px`
   })
-    */
+
 }
 
 export default () => {