Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/web/app/api/exportDocx/route.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { NextRequest, NextResponse } from 'next/server';
import HTMLtoDOCX from 'html-to-docx';
import HTMLtoDOCX from '@turbodocx/html-to-docx';
import { JSDOM } from 'jsdom';

// 处理图片:将图片转换为base64
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"franc": "^6.2.0",
"highlight.js": "^11.9.0",
"html-docx-ts-improve": "^1.1.3",
"html-to-docx": "^1.8.0",
"@turbodocx/html-to-docx": "^1.18.1",
"html-to-md": "^0.8.6",
"idb": "^8.0.0",
"jsdom": "^25.0.1",
Expand Down