@seafile/comment-editor 0.0.1-alpha.26 → 0.0.1-alpha.27

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.
@@ -272,7 +272,7 @@ const CommentEditor = _ref => {
272
272
  onSubmit: onSubmit,
273
273
  submitBtnText: t(submitTip),
274
274
  onCancel: onCancel
275
- }))), /*#__PURE__*/_react.default.createElement(_insertElementDialog.default, {
275
+ }))), !hiddenToolMenu && /*#__PURE__*/_react.default.createElement(_insertElementDialog.default, {
276
276
  editor: editor
277
277
  }));
278
278
  };
@@ -28,7 +28,10 @@ const CommentEditorToolbar = _ref => {
28
28
  (0, _useSelectionUpdate.default)();
29
29
  const eventBus = _eventBus.default.getInstance();
30
30
  return /*#__PURE__*/_react.default.createElement("div", {
31
- className: "comment-editor-toolbar"
31
+ className: "comment-editor-toolbar",
32
+ style: !hiddenToolMenu ? {
33
+ 'justifyContent': 'end'
34
+ } : {}
32
35
  }, !hiddenToolMenu && /*#__PURE__*/_react.default.createElement(_commons.MenuGroup, {
33
36
  className: "menu-group comment-editor-menu-group"
34
37
  }, /*#__PURE__*/_react.default.createElement(_comemntEditorMenu.default, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/comment-editor",
3
- "version": "0.0.1-alpha.26",
3
+ "version": "0.0.1-alpha.27",
4
4
  "private": false,
5
5
  "description": "This is a comment editor",
6
6
  "main": "dist/index.js",