@bigbinary/neeto-editor 1.28.10 → 1.28.11
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.
- package/index.cjs.js +4 -2
- package/index.cjs.js.map +1 -1
- package/index.js +5 -3
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -94909,7 +94909,9 @@ var MediaUploader = function MediaUploader(_ref) {
|
|
|
94909
94909
|
return /*#__PURE__*/React__default["default"].createElement(neetoui.Modal, {
|
|
94910
94910
|
closeButton: false,
|
|
94911
94911
|
isOpen: isOpen,
|
|
94912
|
-
|
|
94912
|
+
closeOnEsc: ramda.not(isUploading),
|
|
94913
|
+
closeOnOutsideClick: ramda.not(isUploading),
|
|
94914
|
+
onClose: handleClose
|
|
94913
94915
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
94914
94916
|
className: "ne-media-uploader"
|
|
94915
94917
|
}, !isNilOrEmpty(tabs) && /*#__PURE__*/React__default["default"].createElement(neetoui.Tab, null, tabs.map(function (_ref3) {
|
|
@@ -94926,8 +94928,8 @@ var MediaUploader = function MediaUploader(_ref) {
|
|
|
94926
94928
|
className: "ne-media-uploader__content"
|
|
94927
94929
|
}, activeTab === "local" && /*#__PURE__*/React__default["default"].createElement(LocalUploader, {
|
|
94928
94930
|
insertMediaToEditor: insertMediaToEditor,
|
|
94929
|
-
isImage: mediaUploader.image,
|
|
94930
94931
|
setIsUploading: setIsUploading,
|
|
94932
|
+
isImage: mediaUploader.image,
|
|
94931
94933
|
onClose: handleClose
|
|
94932
94934
|
}), activeTab === "link" && /*#__PURE__*/React__default["default"].createElement(URLForm, {
|
|
94933
94935
|
placeholder: t("placeholders.pasteLink"),
|