@seafile/seafile-editor 2.0.27-beta → 2.0.27-beta2

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.
@@ -17,6 +17,7 @@ const useLinkClick = function () {
17
17
  let isUseLinkClick = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
18
18
  let callback = arguments.length > 1 ? arguments[1] : undefined;
19
19
  useEffect(() => {
20
+ console.log('isUseLinkClick: ', isUseLinkClick);
20
21
  if (!isUseLinkClick) return;
21
22
  function onLinkClick(event) {
22
23
  event.preventDefault();
@@ -18,6 +18,7 @@ function MarkdownViewer(_ref) {
18
18
  mathJaxSource,
19
19
  isShowOutline,
20
20
  scrollRef,
21
+ isUseLinkClick,
21
22
  onLinkClick,
22
23
  beforeRenderCallback
23
24
  } = _ref;
@@ -43,6 +44,7 @@ function MarkdownViewer(_ref) {
43
44
  value: richValue,
44
45
  isShowOutline: isShowOutline,
45
46
  scrollRef: scrollRef,
47
+ isUseLinkClick: isUseLinkClick,
46
48
  onLinkClick: onLinkClick
47
49
  };
48
50
  if (isFetching || isLoading || isLoadingMathJax) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/seafile-editor",
3
- "version": "2.0.27beta",
3
+ "version": "2.0.27beta2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {