@seafile/sdoc-editor 2.0.17 → 2.0.18

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.
@@ -190,14 +190,14 @@ const InsertBlockMenu = _ref => {
190
190
  menuConfig: item,
191
191
  onClick: () => createMultiColumn(item.type)
192
192
  });
193
- }), editor.tables && /*#__PURE__*/_react.default.createElement(_menu2.default, {
194
- isHidden: !insertMenuSearchMap[_constants.ELEMENT_TYPE.SEATABLE_TABLE],
193
+ }), editor.columns && /*#__PURE__*/_react.default.createElement(_menu.default, {
194
+ isHidden: !insertMenuSearchMap[_constants.ELEMENT_TYPE.SEATABLE_COLUMN],
195
195
  editor: editor,
196
196
  readonly: editor.readonly,
197
197
  insertPosition: insertPosition,
198
198
  container: 'sdoc-side-menu-insert-wrapper'
199
- }), editor.columns && /*#__PURE__*/_react.default.createElement(_menu.default, {
200
- isHidden: !insertMenuSearchMap[_constants.ELEMENT_TYPE.SEATABLE_COLUMN],
199
+ }), editor.tables && /*#__PURE__*/_react.default.createElement(_menu2.default, {
200
+ isHidden: !insertMenuSearchMap[_constants.ELEMENT_TYPE.SEATABLE_TABLE],
201
201
  editor: editor,
202
202
  readonly: editor.readonly,
203
203
  insertPosition: insertPosition,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "2.0.17",
3
+ "version": "2.0.18",
4
4
  "private": false,
5
5
  "description": "This is a sdoc editor",
6
6
  "main": "dist/index.js",