ronds-metadata 1.2.62 → 1.2.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -117,6 +117,7 @@
117
117
  }
118
118
 
119
119
  .ck-content .table {
120
+ width: 100%;
120
121
  margin: 0px !important;
121
122
  }
122
123
  .ck-content .image {
@@ -125,6 +126,9 @@
125
126
 
126
127
  .ronds-metadata-dark {
127
128
  .ck {
129
+ .table {
130
+ width: 100%;
131
+ }
128
132
  th {
129
133
  background-color: #0d1f40 !important;
130
134
  }
package/es/utils.js CHANGED
@@ -6,7 +6,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
6
6
  /*
7
7
  * @Author: wangxian
8
8
  * @Date: 2021-09-18 14:15:04
9
- * @LastEditTime: 2023-06-08 11:32:22
9
+ * @LastEditTime: 2023-06-08 14:30:24
10
10
  */
11
11
  import saveAs from 'file-saver';
12
12
  import { asBlob } from 'html-docx-js-typescript';
@@ -183,7 +183,7 @@ function _handleMd2Doc() {
183
183
  // 修改图片路径;
184
184
  token.attrs[token.attrIndex('src')][1] = "".concat(window.location.origin, "/").concat(src);
185
185
  }
186
- var width = '600'; // 自定义宽度
186
+ var width = '620'; // 自定义宽度
187
187
  var height = 'auto'; // 自适应高度
188
188
  // 添加自定义宽高属性
189
189
  token.attrSet('width', width);
@@ -204,7 +204,7 @@ function _handleMd2Doc() {
204
204
  orientation: 'portrait'
205
205
  };
206
206
  _context.next = 8;
207
- return asBlob(html, opt);
207
+ return asBlob(commonHtml, opt);
208
208
  case 8:
209
209
  blob = _context.sent;
210
210
  saveAs(blob, "".concat(fileName, ".doc"));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "public": true,
3
3
  "name": "ronds-metadata",
4
- "version": "1.2.62",
4
+ "version": "1.2.64",
5
5
  "scripts": {
6
6
  "start": "dumi dev",
7
7
  "docs:build": "dumi build",