@seafile/sdoc-editor 1.0.66-beta3 → 1.0.66-beta4
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 @@ const RightPanel = _ref => {
|
|
|
19
19
|
} = _ref;
|
|
20
20
|
const {
|
|
21
21
|
plugins,
|
|
22
|
-
displayPluginName
|
|
22
|
+
displayPluginName,
|
|
23
|
+
closePlugin
|
|
23
24
|
} = (0, _hooks.usePlugins)();
|
|
24
25
|
const panelWrapperRef = (0, _react.useRef)(null);
|
|
25
26
|
const {
|
|
@@ -73,7 +74,8 @@ const RightPanel = _ref => {
|
|
|
73
74
|
}, /*#__PURE__*/_react.default.createElement(Component, {
|
|
74
75
|
editor: editor,
|
|
75
76
|
type: "global",
|
|
76
|
-
collaborators: collaborators
|
|
77
|
+
collaborators: collaborators,
|
|
78
|
+
onClose: closePlugin
|
|
77
79
|
})));
|
|
78
80
|
};
|
|
79
81
|
var _default = exports.default = RightPanel;
|