@seafile/sdoc-editor 3.0.78 → 3.0.79

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.
@@ -19,7 +19,8 @@ var RevisionEditor = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
19
19
  isReloading = _ref.isReloading,
20
20
  document = _ref.document,
21
21
  revisionContent = _ref.revisionContent,
22
- didMountCallback = _ref.didMountCallback;
22
+ didMountCallback = _ref.didMountCallback,
23
+ mathJaxSource = _ref.mathJaxSource;
23
24
  var editorRef = (0, _react.useRef)(null);
24
25
  var editor = (0, _react.useMemo)(function () {
25
26
  var defaultEditor = (0, _extension.createDefaultEditor)();
@@ -75,7 +76,8 @@ var RevisionEditor = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
75
76
  editor: editor,
76
77
  isReloading: isReloading,
77
78
  document: document,
78
- showComment: true
79
+ showComment: true,
80
+ mathJaxSource: mathJaxSource
79
81
  });
80
82
  });
81
83
  var _default = exports["default"] = RevisionEditor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "3.0.78",
3
+ "version": "3.0.79",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -72,5 +72,5 @@
72
72
  "publishConfig": {
73
73
  "access": "public"
74
74
  },
75
- "gitHead": "bbda01e681bef4b6ffc952f145768951ef6025cf"
75
+ "gitHead": "3330a668778b4ec0e0745b164a7d5be005b13f86"
76
76
  }