@seafile/seafile-sdoc-editor 3.0.171 → 3.0.172

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.
@@ -51,7 +51,7 @@ var MoreOperations = function MoreOperations(_ref) {
51
51
  setIsDropdownOpen(!isDropdownOpen);
52
52
  }, []);
53
53
  var handlePrint = (0, _react.useCallback)(function () {
54
- var pageStyle = "\n @page {\n size: auto A4 landscape;\n margin: 20px 0px;\n padding: 0;\n }\n .d-print-none {\n display:none !important;\n }\n .article {\n border: none !important;\n box-shadow: none !important;\n }\n html, body {\n margin: 0;\n padding: 0\n }\n body {\n min-width: 673px !important;\n -webkit-print-color-adjust: exact;\n print-color-adjust: exact;\n height: auto;\n }\n .d-print-none {\n display:none !important;\n }\n .article {\n width: 673px !important;\n margin: 40px 60px;\n border: none !important;\n box-shadow: none !important;\n padding: 0 !important;\n }\n @media print {\n img {\n page-break-inside: avoid;\n height: auto !important;\n max-width: 100% !important;\n }\n }\n ";
54
+ var pageStyle = "\n @page {\n size: auto A4 landscape;\n margin: 20px 0px;\n padding: 0;\n }\n .d-print-none {\n display:none !important;\n }\n .article {\n border: none !important;\n box-shadow: none !important;\n }\n html, body {\n margin: 0;\n padding: 0\n }\n body {\n min-width: 673px !important;\n -webkit-print-color-adjust: exact;\n print-color-adjust: exact;\n font-family: Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'SimSun', sans-serif;\n height: auto;\n }\n #sdoc-editor-print-wrapper {\n font-family: inherit;\n }\n .d-print-none {\n display:none !important;\n }\n .article {\n width: 673px !important;\n margin: 40px 60px;\n border: none !important;\n box-shadow: none !important;\n padding: 0 !important;\n }\n @media print {\n img {\n page-break-inside: avoid;\n height: auto !important;\n max-width: 100% !important;\n }\n }\n ";
55
55
  (0, _printJs["default"])({
56
56
  printable: 'sdoc-editor-print-wrapper',
57
57
  type: 'html',
@@ -48,7 +48,7 @@ var ShareLinkMoreOperations = function ShareLinkMoreOperations(_ref) {
48
48
  type: 'html',
49
49
  scanStyles: true,
50
50
  targetStyles: ['*'],
51
- style: '@page { size: auto A4 landscape;margin:20px auto; padding: 0;} .d-print-none{display:none !important;} .article {border: none !important; box-shadow: none !important; } html, body {margin: 0; padding: 0}',
51
+ style: '@page { size: auto A4 landscape;margin:20px auto; padding: 0;} .d-print-none{display:none !important;} .article {border: none !important; box-shadow: none !important; } html, body {margin: 0; padding: 0} body { font-family: Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "SimSun", sans-serif; } #sdoc-editor-print-wrapper { font-family: inherit; }',
52
52
  css: cssUrls
53
53
  });
54
54
  }, [cssUrls]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/seafile-sdoc-editor",
3
- "version": "3.0.171",
3
+ "version": "3.0.172",
4
4
  "author": "shuntian <978987373@qq.com>",
5
5
  "homepage": "https://github.com/seafileltd/sea-sdoc-editor#readme",
6
6
  "license": "ISC",
@@ -29,7 +29,7 @@
29
29
  "description": "",
30
30
  "dependencies": {
31
31
  "@seafile/print-js": "1.6.6",
32
- "@seafile/sdoc-editor": "^3.0.171",
32
+ "@seafile/sdoc-editor": "^3.0.172",
33
33
  "classnames": "2.3.2",
34
34
  "dayjs": "1.10.7"
35
35
  },
@@ -45,5 +45,5 @@
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  },
48
- "gitHead": "9ea7b7be08dc8fd7ec2c162419ef9d55651e19d4"
48
+ "gitHead": "01eab66e5ed1a93b11abb9f92d927ad424bca4db"
49
49
  }