@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.
|
|
194
|
-
isHidden: !insertMenuSearchMap[_constants.ELEMENT_TYPE.
|
|
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.
|
|
200
|
-
isHidden: !insertMenuSearchMap[_constants.ELEMENT_TYPE.
|
|
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,
|