jack 23 hours ago
parent
commit
8b847e0360
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/hooks/useImport.ts

+ 1 - 1
src/hooks/useImport.ts

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