[PR #407] [CLOSED] feat(#293):新增导出PDF功能及编辑器空状态指南面板 #726

Closed
opened 2026-03-02 03:41:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/codexu/note-gen/pull/407
Author: @TeliangWang
Created: 7/20/2025
Status: Closed

Base: devHead: feat/293


📝 Commits (3)

  • f97152f 保存本地修改
  • 1bbabcb 保存合并前的本地更改
  • f71bda1 Merge remote-tracking branch 'upstream/dev' into dev

📊 Changes

16 files changed (+16079 additions, -7 deletions)

View changed files

📝 messages/en.json (+39 -1)
📝 messages/ja.json (+39 -1)
📝 messages/zh.json (+39 -1)
package-lock.json (+10182 -0)
📝 package.json (+3 -3)
src-tauri/guide/ExportPDFstyleEN.html (+1329 -0)
src-tauri/guide/ExportPDFstyleJP.html (+1329 -0)
src-tauri/guide/ExportPDFstyleZH.html (+1329 -0)
src-tauri/guide/NotoFontsInstallationGuideEN.html (+392 -0)
src-tauri/guide/NotoFontsInstallationGuideJP.html (+392 -0)
src-tauri/guide/NotoFontsInstallationGuideZH.html (+420 -0)
📝 src-tauri/tauri.conf.json (+1 -1)
src/app/core/article/empty-prompt.tsx (+154 -0)
src/app/core/article/file/export-pdf.tsx (+388 -0)
📝 src/app/core/article/file/file-toolbar.tsx (+10 -0)
📝 src/app/core/article/md-editor.tsx (+33 -0)

📄 Description

导出PDF功能:通过调用浏览器生成高质量PDF,无需新增依赖,无损导出md编辑器所有元素
空状态指南面板:新增依赖WebviewWindow(import { WebviewWindow } from '@tauri-apps/api/webviewWindow';),当编辑器无任何输入时,跳出指南面板提供操作提示(包括AI辅助编辑、PDF导出样式说明及效果、思源字体安装指南),提高新手友好度


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/codexu/note-gen/pull/407 **Author:** [@TeliangWang](https://github.com/TeliangWang) **Created:** 7/20/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feat/293` --- ### 📝 Commits (3) - [`f97152f`](https://github.com/codexu/note-gen/commit/f97152fb24b7e98dd927b69dbdd5684598517722) 保存本地修改 - [`1bbabcb`](https://github.com/codexu/note-gen/commit/1bbabcb286f81246b23117983d4d42e80eeee530) 保存合并前的本地更改 - [`f71bda1`](https://github.com/codexu/note-gen/commit/f71bda19e940360817a01c2ad239c7fa00ae4e36) Merge remote-tracking branch 'upstream/dev' into dev ### 📊 Changes **16 files changed** (+16079 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `messages/en.json` (+39 -1) 📝 `messages/ja.json` (+39 -1) 📝 `messages/zh.json` (+39 -1) ➕ `package-lock.json` (+10182 -0) 📝 `package.json` (+3 -3) ➕ `src-tauri/guide/ExportPDFstyleEN.html` (+1329 -0) ➕ `src-tauri/guide/ExportPDFstyleJP.html` (+1329 -0) ➕ `src-tauri/guide/ExportPDFstyleZH.html` (+1329 -0) ➕ `src-tauri/guide/NotoFontsInstallationGuideEN.html` (+392 -0) ➕ `src-tauri/guide/NotoFontsInstallationGuideJP.html` (+392 -0) ➕ `src-tauri/guide/NotoFontsInstallationGuideZH.html` (+420 -0) 📝 `src-tauri/tauri.conf.json` (+1 -1) ➕ `src/app/core/article/empty-prompt.tsx` (+154 -0) ➕ `src/app/core/article/file/export-pdf.tsx` (+388 -0) 📝 `src/app/core/article/file/file-toolbar.tsx` (+10 -0) 📝 `src/app/core/article/md-editor.tsx` (+33 -0) </details> ### 📄 Description 导出PDF功能:通过调用浏览器生成高质量PDF,无需新增依赖,无损导出md编辑器所有元素 空状态指南面板:新增依赖WebviewWindow(import { WebviewWindow } from '@tauri-apps/api/webviewWindow';),当编辑器无任何输入时,跳出指南面板提供操作提示(包括AI辅助编辑、PDF导出样式说明及效果、思源字体安装指南),提高新手友好度 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 03:41:29 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/note-gen#726
No description provided.