Browse Source

:art: fix https://github.com/Vanessa219/vditor/issues/1312

Vanessa 3 years ago
parent
commit
e34a9ccb66
4 changed files with 2 additions and 1 deletions
  1. 1 0
      CHANGELOG.md
  2. 0 0
      src/js/flowchart.js/flowchart.min.js
  3. 0 0
      src/js/mermaid/mermaid.min.js
  4. 1 1
      src/ts/export/index.ts

+ 1 - 0
CHANGELOG.md

@@ -105,6 +105,7 @@
 
 ### v3.8.18 / 2022-11
 
+* [1312](https://github.com/Vanessa219/vditor/issues/1312) 导出 PDF 图表缺失 `修复缺陷`
 * [1297](https://github.com/Vanessa219/vditor/issues/1297) mermaid 升级到 9.1.7 `改进功能`
 * [1289](https://github.com/Vanessa219/vditor/issues/1289) 切换输入法后光标错位 `兼容性`
 * [1278](https://github.com/Vanessa219/vditor/issues/1278) RenderJSON 导出的 JSON 不正确 `修复缺陷`

File diff suppressed because it is too large
+ 0 - 0
src/js/flowchart.js/flowchart.min.js


File diff suppressed because it is too large
+ 0 - 0
src/js/mermaid/mermaid.min.js


+ 1 - 1
src/ts/export/index.ts

@@ -27,7 +27,7 @@ export const exportPDF = (vditor: IVditor) => {
     iframe.contentDocument.open();
     iframe.contentDocument.write(`<link rel="stylesheet" href="${vditor.options.cdn}/dist/index.css"/>
 <script src="${vditor.options.cdn}/dist/method.min.js"></script>
-<div id="preview"></div>
+<div id="preview" style="width: 800px"></div>
 <script>
 window.addEventListener("message", (e) => {
   if(!e.data) {

Some files were not shown because too many files changed in this diff