@seafile/seafile-editor 1.0.87 → 1.0.88-beta

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.
@@ -15,6 +15,7 @@ var _eventHandler = _interopRequireDefault(require("../../utils/event-handler"))
15
15
  var _withPropsEditor = _interopRequireDefault(require("./with-props-editor"));
16
16
  var _core = require("../../extension/core");
17
17
  var _common = require("../../utils/common");
18
+ var _userLinkClick = _interopRequireDefault(require("../../hooks/user-link-click"));
18
19
  require("./index.css");
19
20
  const isMacOS = (0, _common.isMac)();
20
21
  const InlineEditor = _ref => {
@@ -101,6 +102,7 @@ const InlineEditor = _ref => {
101
102
  focusNode(editor, focusRangeRef.current);
102
103
  // eslint-disable-next-line react-hooks/exhaustive-deps
103
104
  }, [enableEdit]);
105
+ (0, _userLinkClick.default)();
104
106
 
105
107
  // willUnmount
106
108
  (0, _react.useEffect)(() => {
@@ -64,3 +64,23 @@
64
64
  .sf-long-text-inline-editor-container .article>div>:first-child {
65
65
  margin-top: 0;
66
66
  }
67
+
68
+ .sf-long-text-inline-editor-container .sf-image-wrapper .full-screen {
69
+ align-items: center;
70
+ background-color: #00000080;
71
+ border: none;
72
+ border-radius: 3px;
73
+ box-shadow: none;
74
+ display: flex;
75
+ height: 28px;
76
+ justify-content: center;
77
+ line-height: 28px;
78
+ padding: 0;
79
+ position: absolute;
80
+ right: 10px;
81
+ top: 10px;
82
+ -webkit-user-select: none !important;
83
+ user-select: none !important;
84
+ width: 28px;
85
+ z-index: 1000;
86
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/seafile-editor",
3
- "version": "1.0.87",
3
+ "version": "1.0.88beta",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {