@bigbinary/neeto-editor 1.47.99 → 1.47.101

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.
@@ -5,7 +5,7 @@ var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
5
5
  var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
6
6
  var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
7
7
  var React = require('react');
8
- var Menu$4 = require('./chunk-CAXraAbK.cjs.js');
8
+ var Menu$4 = require('./chunk-D2lzFp9p.cjs.js');
9
9
  var classnames = require('classnames');
10
10
  var constants = require('./chunk-2HrSPdAV.cjs.js');
11
11
  var neetoCist = require('@bigbinary/neeto-cist');
@@ -22131,7 +22131,7 @@ var LinkPopOver = function LinkPopOver(_ref) {
22131
22131
  });
22132
22132
  };
22133
22133
 
22134
- var _excluded = ["addonCommands", "addons", "attachments", "attachmentsConfig", "autoFocus", "className", "contentClassName", "contentWrapperClassName", "errorWrapperClassName", "contentAttributes", "menuClassName", "attachmentsClassName", "isMenuIndependent", "defaults", "editorSecrets", "error", "extensions", "hideSlashCommands", "initialValue", "isCharacterCountActive", "keyboardShortcuts", "label", "mentions", "menuType", "placeholder", "required", "rows", "tooltips", "variables", "onChange", "onFocus", "onBlur", "onSubmit", "onChangeAttachments", "children", "openImageInNewTab", "openLinkInNewTab", "collaborationProvider", "enableReactNodeViewOptimization", "size", "otherAttachmentProps"];
22134
+ var _excluded = ["addonCommands", "addons", "attachments", "attachmentsConfig", "autoFocus", "className", "contentClassName", "contentWrapperClassName", "errorWrapperClassName", "contentAttributes", "menuClassName", "attachmentsClassName", "isMenuIndependent", "defaults", "editorSecrets", "error", "extensions", "hideSlashCommands", "initialValue", "isCharacterCountActive", "keyboardShortcuts", "label", "mentions", "menuType", "placeholder", "required", "rows", "tooltips", "variables", "onChange", "onFocus", "onBlur", "onSubmit", "onChangeAttachments", "children", "openImageInNewTab", "openLinkInNewTab", "showAssetLibrary", "collaborationProvider", "enableReactNodeViewOptimization", "size", "otherAttachmentProps"];
22135
22135
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
22136
22136
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty__default.default(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
22137
22137
  var Editor = function Editor(_ref, ref) {
@@ -22201,6 +22201,8 @@ var Editor = function Editor(_ref, ref) {
22201
22201
  openImageInNewTab = _ref$openImageInNewTa === void 0 ? true : _ref$openImageInNewTa,
22202
22202
  _ref$openLinkInNewTab = _ref.openLinkInNewTab,
22203
22203
  openLinkInNewTab = _ref$openLinkInNewTab === void 0 ? true : _ref$openLinkInNewTab,
22204
+ _ref$showAssetLibrary = _ref.showAssetLibrary,
22205
+ showAssetLibrary = _ref$showAssetLibrary === void 0 ? true : _ref$showAssetLibrary,
22204
22206
  _ref$collaborationPro = _ref.collaborationProvider,
22205
22207
  collaborationProvider = _ref$collaborationPro === void 0 ? null : _ref$collaborationPro,
22206
22208
  _ref$enableReactNodeV = _ref.enableReactNodeViewOptimization,
@@ -22396,6 +22398,7 @@ var Editor = function Editor(_ref, ref) {
22396
22398
  menuType: menuType,
22397
22399
  neetoKbArticleState: neetoKbArticleState,
22398
22400
  openLinkInNewTab: openLinkInNewTab,
22401
+ showAssetLibrary: showAssetLibrary,
22399
22402
  tooltips: tooltips,
22400
22403
  variables: variables,
22401
22404
  className: menuClassName,
@@ -22415,6 +22418,7 @@ var Editor = function Editor(_ref, ref) {
22415
22418
  }, otherProps))), isMediaUploaderActive && /*#__PURE__*/jsxRuntime.jsx(Menu$4.MediaUploader, {
22416
22419
  editor: editor,
22417
22420
  mediaUploader: mediaUploader,
22421
+ showAssetLibrary: showAssetLibrary,
22418
22422
  onClose: function onClose() {
22419
22423
  return setMediaUploader({
22420
22424
  image: false,