@seafile/comment-editor 0.0.1-alpha.43 → 0.0.1-alpha.45

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.
@@ -39,26 +39,8 @@ const SeafileCommentEditor = _ref => {
39
39
  lang
40
40
  } = settings || {};
41
41
  _basicSdk.context.init(settings, api);
42
- return /*#__PURE__*/_react.default.createElement(_errorBoundary.default, null, /*#__PURE__*/_react.default.createElement(_reactI18next.I18nextProvider, {
42
+ return /*#__PURE__*/_react.default.createElement(_reactI18next.I18nextProvider, {
43
43
  i18n: (0, _i18n.getI18n)(lang || 'en')
44
- }, /*#__PURE__*/_react.default.createElement(_basicSdk.CommentProvider, {
45
- type: type,
46
- className: className,
47
- pluginName: pluginName,
48
- pluginEventBus: pluginEventBus,
49
- pluginEvent: pluginEvent,
50
- collaborators: collaborators,
51
- participants: participants,
52
- addParticipants: addParticipants
53
- }, /*#__PURE__*/_react.default.createElement(_basicSdk.CommentEditor, {
54
- content: content,
55
- insertContent: insertContent,
56
- onContentChange: onContentChange,
57
- hiddenUserInfo: hiddenUserInfo,
58
- hiddenComment: hiddenComment,
59
- toolMenus: toolMenus,
60
- closePanel: closePanel,
61
- addParticipants: addParticipants
62
- }))));
44
+ }, /*#__PURE__*/_react.default.createElement("div", null, "123"));
63
45
  };
64
46
  var _default = exports.default = SeafileCommentEditor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/comment-editor",
3
- "version": "0.0.1-alpha.43",
3
+ "version": "0.0.1-alpha.45",
4
4
  "private": false,
5
5
  "description": "This is a comment editor",
6
6
  "main": "dist/index.js",