@strapi/content-manager 5.0.0-rc.11 → 5.0.0-rc.13
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/dist/_chunks/{ComponentConfigurationPage-qemkOlnj.mjs → ComponentConfigurationPage-CnL10QYC.mjs} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-qemkOlnj.mjs.map → ComponentConfigurationPage-CnL10QYC.mjs.map} +1 -1
- package/dist/_chunks/{ComponentConfigurationPage-D_M8iBw5.js → ComponentConfigurationPage-G4EIirP8.js} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-D_M8iBw5.js.map → ComponentConfigurationPage-G4EIirP8.js.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-BePwPuHy.js → EditConfigurationPage-B2AA1kVF.js} +3 -3
- package/dist/_chunks/{EditConfigurationPage-BePwPuHy.js.map → EditConfigurationPage-B2AA1kVF.js.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-CjUrEewK.mjs → EditConfigurationPage-I2kKh9dx.mjs} +3 -3
- package/dist/_chunks/{EditConfigurationPage-CjUrEewK.mjs.map → EditConfigurationPage-I2kKh9dx.mjs.map} +1 -1
- package/dist/_chunks/{EditViewPage-B-RJeiJD.js → EditViewPage-CHgoNwlc.js} +3 -3
- package/dist/_chunks/{EditViewPage-B-RJeiJD.js.map → EditViewPage-CHgoNwlc.js.map} +1 -1
- package/dist/_chunks/{EditViewPage-De8GyU8P.mjs → EditViewPage-zFjJK0s8.mjs} +3 -3
- package/dist/_chunks/{EditViewPage-De8GyU8P.mjs.map → EditViewPage-zFjJK0s8.mjs.map} +1 -1
- package/dist/_chunks/{Field-dq8Tg1M_.js → Field-9DePZh-0.js} +24 -62
- package/dist/_chunks/Field-9DePZh-0.js.map +1 -0
- package/dist/_chunks/{Field-pb2o8uBe.mjs → Field-DPAzUS1M.mjs} +20 -58
- package/dist/_chunks/Field-DPAzUS1M.mjs.map +1 -0
- package/dist/_chunks/{Form-DJn0Dxha.mjs → Form-CEkENbkF.mjs} +15 -7
- package/dist/_chunks/Form-CEkENbkF.mjs.map +1 -0
- package/dist/_chunks/{Form-DGIf4jQU.js → Form-DPm-KZ1A.js} +15 -7
- package/dist/_chunks/Form-DPm-KZ1A.js.map +1 -0
- package/dist/_chunks/{History-Dh2NEHnR.js → History-DXSbTWez.js} +4 -4
- package/dist/_chunks/{History-Dh2NEHnR.js.map → History-DXSbTWez.js.map} +1 -1
- package/dist/_chunks/{History-BowL3JKP.mjs → History-utls71em.mjs} +4 -4
- package/dist/_chunks/{History-BowL3JKP.mjs.map → History-utls71em.mjs.map} +1 -1
- package/dist/_chunks/{ListConfigurationPage-BpVOB-hn.mjs → ListConfigurationPage-CuMXWWqb.mjs} +2 -2
- package/dist/_chunks/{ListConfigurationPage-BpVOB-hn.mjs.map → ListConfigurationPage-CuMXWWqb.mjs.map} +1 -1
- package/dist/_chunks/{ListConfigurationPage-BxYCWz9e.js → ListConfigurationPage-D5C7ACZ_.js} +2 -2
- package/dist/_chunks/{ListConfigurationPage-BxYCWz9e.js.map → ListConfigurationPage-D5C7ACZ_.js.map} +1 -1
- package/dist/_chunks/{ListViewPage-CXFUjZQC.mjs → ListViewPage-CdKd-PS_.mjs} +39 -35
- package/dist/_chunks/ListViewPage-CdKd-PS_.mjs.map +1 -0
- package/dist/_chunks/{ListViewPage-4XsciqHZ.js → ListViewPage-DfuwH1tt.js} +42 -38
- package/dist/_chunks/ListViewPage-DfuwH1tt.js.map +1 -0
- package/dist/_chunks/{NoContentTypePage-C8OpoHeU.js → NoContentTypePage-BIxlkWWi.js} +2 -2
- package/dist/_chunks/{NoContentTypePage-C8OpoHeU.js.map → NoContentTypePage-BIxlkWWi.js.map} +1 -1
- package/dist/_chunks/{NoContentTypePage-DuhOTp3x.mjs → NoContentTypePage-DkToTT7u.mjs} +2 -2
- package/dist/_chunks/{NoContentTypePage-DuhOTp3x.mjs.map → NoContentTypePage-DkToTT7u.mjs.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-y_r7DVA2.js → NoPermissionsPage-Bu4GWYb-.js} +2 -2
- package/dist/_chunks/{NoPermissionsPage-y_r7DVA2.js.map → NoPermissionsPage-Bu4GWYb-.js.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-DVz3mzDz.mjs → NoPermissionsPage-DlWi4BAH.mjs} +2 -2
- package/dist/_chunks/{NoPermissionsPage-DVz3mzDz.mjs.map → NoPermissionsPage-DlWi4BAH.mjs.map} +1 -1
- package/dist/_chunks/{Relations-DPFCAa7b.js → Relations-CFjTESWQ.js} +3 -3
- package/dist/_chunks/{Relations-DPFCAa7b.js.map → Relations-CFjTESWQ.js.map} +1 -1
- package/dist/_chunks/{Relations-CVNLrn1Y.mjs → Relations-QP5yn9_z.mjs} +3 -3
- package/dist/_chunks/{Relations-CVNLrn1Y.mjs.map → Relations-QP5yn9_z.mjs.map} +1 -1
- package/dist/_chunks/{en-uOUIxfcQ.js → en-BVzUkPxZ.js} +6 -5
- package/dist/_chunks/{en-uOUIxfcQ.js.map → en-BVzUkPxZ.js.map} +1 -1
- package/dist/_chunks/{en-BrCTWlZv.mjs → en-CPTj6CjC.mjs} +6 -5
- package/dist/_chunks/{en-BrCTWlZv.mjs.map → en-CPTj6CjC.mjs.map} +1 -1
- package/dist/_chunks/{index-DiMrfcfy.mjs → index-BHfS6_D5.mjs} +106 -61
- package/dist/_chunks/{index-DiMrfcfy.mjs.map → index-BHfS6_D5.mjs.map} +1 -1
- package/dist/_chunks/{index-C3fJE-1-.js → index-DXiHxy70.js} +104 -59
- package/dist/_chunks/index-DXiHxy70.js.map +1 -0
- package/dist/_chunks/{layout-ls3gxfpH.mjs → layout-DX_52HSH.mjs} +5 -4
- package/dist/_chunks/{layout-ls3gxfpH.mjs.map → layout-DX_52HSH.mjs.map} +1 -1
- package/dist/_chunks/{layout-C788OmNr.js → layout-bE-WUnQ0.js} +5 -4
- package/dist/_chunks/{layout-C788OmNr.js.map → layout-bE-WUnQ0.js.map} +1 -1
- package/dist/_chunks/{relations-DYeotliT.js → relations-D706vblp.js} +2 -2
- package/dist/_chunks/{relations-DYeotliT.js.map → relations-D706vblp.js.map} +1 -1
- package/dist/_chunks/{relations-CLcOmGO0.mjs → relations-SCVAL_aJ.mjs} +2 -2
- package/dist/_chunks/{relations-CLcOmGO0.mjs.map → relations-SCVAL_aJ.mjs.map} +1 -1
- package/dist/_chunks/{usePrev-B9w_-eYc.js → useDebounce-CtcjDB3L.js} +14 -1
- package/dist/_chunks/useDebounce-CtcjDB3L.js.map +1 -0
- package/dist/_chunks/useDebounce-DmuSJIF3.mjs +29 -0
- package/dist/_chunks/useDebounce-DmuSJIF3.mjs.map +1 -0
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/WysiwygStyles.d.ts +0 -32
- package/dist/admin/src/pages/EditView/components/Header.d.ts +10 -11
- package/dist/admin/src/services/documents.d.ts +3 -1
- package/dist/server/index.js +18 -5
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +18 -5
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/src/controllers/collection-types.d.ts.map +1 -1
- package/dist/server/src/history/services/history.d.ts.map +1 -1
- package/dist/server/src/history/services/lifecycles.d.ts.map +1 -1
- package/dist/server/src/history/services/utils.d.ts +1 -0
- package/dist/server/src/history/services/utils.d.ts.map +1 -1
- package/dist/shared/contracts/collection-types.d.ts +3 -1
- package/dist/shared/contracts/collection-types.d.ts.map +1 -1
- package/package.json +9 -9
- package/dist/_chunks/Field-dq8Tg1M_.js.map +0 -1
- package/dist/_chunks/Field-pb2o8uBe.mjs.map +0 -1
- package/dist/_chunks/Form-DGIf4jQU.js.map +0 -1
- package/dist/_chunks/Form-DJn0Dxha.mjs.map +0 -1
- package/dist/_chunks/ListViewPage-4XsciqHZ.js.map +0 -1
- package/dist/_chunks/ListViewPage-CXFUjZQC.mjs.map +0 -1
- package/dist/_chunks/index-C3fJE-1-.js.map +0 -1
- package/dist/_chunks/usePrev-B9w_-eYc.js.map +0 -1
- package/dist/_chunks/usePrev-DH6iah0A.mjs +0 -16
- package/dist/_chunks/usePrev-DH6iah0A.mjs.map +0 -1
@@ -5,9 +5,9 @@ const strapiAdmin = require("@strapi/admin/strapi-admin");
|
|
5
5
|
const designSystem = require("@strapi/design-system");
|
6
6
|
const pipe$1 = require("lodash/fp/pipe");
|
7
7
|
const reactIntl = require("react-intl");
|
8
|
-
const index = require("./index-
|
8
|
+
const index = require("./index-DXiHxy70.js");
|
9
9
|
const fractionalIndexing = require("fractional-indexing");
|
10
|
-
const Relations = require("./Relations-
|
10
|
+
const Relations = require("./Relations-CFjTESWQ.js");
|
11
11
|
const Icons = require("@strapi/icons");
|
12
12
|
const styledComponents = require("styled-components");
|
13
13
|
const ComponentIcon = require("./ComponentIcon-BXdiCGQp.js");
|
@@ -17,7 +17,7 @@ const objects = require("./objects-gigeqt7s.js");
|
|
17
17
|
const slate = require("slate");
|
18
18
|
const slateHistory = require("slate-history");
|
19
19
|
const slateReact = require("slate-react");
|
20
|
-
const
|
20
|
+
const useDebounce = require("./useDebounce-CtcjDB3L.js");
|
21
21
|
const Toolbar = require("@radix-ui/react-toolbar");
|
22
22
|
const reactRouterDom = require("react-router-dom");
|
23
23
|
const CodeMirror = require("codemirror5");
|
@@ -768,7 +768,7 @@ const ImageDialog = () => {
|
|
768
768
|
const nodeImage = {
|
769
769
|
...expectedImage,
|
770
770
|
alternativeText: expectedImage.alternativeText || expectedImage.name,
|
771
|
-
url:
|
771
|
+
url: useDebounce.prefixFileUrlWithBackendUrl(image.url)
|
772
772
|
};
|
773
773
|
return nodeImage;
|
774
774
|
});
|
@@ -1441,7 +1441,7 @@ const ToolbarButton = ({
|
|
1441
1441
|
width: 7,
|
1442
1442
|
height: 7,
|
1443
1443
|
hasRadius: true,
|
1444
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(Icon, {
|
1444
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { fill: disabled ? "neutral300" : enabledColor })
|
1445
1445
|
}
|
1446
1446
|
)
|
1447
1447
|
}
|
@@ -1783,6 +1783,7 @@ const DragItem = styledComponents.styled(designSystem.Flex)`
|
|
1783
1783
|
}
|
1784
1784
|
`;
|
1785
1785
|
const DragIconButton = styledComponents.styled(designSystem.IconButton)`
|
1786
|
+
user-select: none;
|
1786
1787
|
display: flex;
|
1787
1788
|
align-items: center;
|
1788
1789
|
justify-content: center;
|
@@ -1911,6 +1912,7 @@ const DragAndDropElement = ({
|
|
1911
1912
|
DragIconButton,
|
1912
1913
|
{
|
1913
1914
|
tag: "div",
|
1915
|
+
contentEditable: false,
|
1914
1916
|
role: "button",
|
1915
1917
|
tabIndex: 0,
|
1916
1918
|
withTooltip: false,
|
@@ -2757,7 +2759,7 @@ const RepeatableComponent = ({
|
|
2757
2759
|
}
|
2758
2760
|
return void 0;
|
2759
2761
|
}, [search, name2, value]);
|
2760
|
-
const prevValue =
|
2762
|
+
const prevValue = useDebounce.usePrev(value);
|
2761
2763
|
React__namespace.useEffect(() => {
|
2762
2764
|
if (prevValue && prevValue.length < value.length) {
|
2763
2765
|
setCollapseToOpen(value[value.length - 1].__temp_key__);
|
@@ -3290,18 +3292,6 @@ const NotAllowedInput = ({ hint, label, required, name: name2 }) => {
|
|
3290
3292
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Field.Hint, {})
|
3291
3293
|
] });
|
3292
3294
|
};
|
3293
|
-
function useDebounce(value, delay) {
|
3294
|
-
const [debouncedValue, setDebouncedValue] = React.useState(value);
|
3295
|
-
React.useEffect(() => {
|
3296
|
-
const handler = setTimeout(() => {
|
3297
|
-
setDebouncedValue(value);
|
3298
|
-
}, delay);
|
3299
|
-
return () => {
|
3300
|
-
clearTimeout(handler);
|
3301
|
-
};
|
3302
|
-
}, [value, delay]);
|
3303
|
-
return debouncedValue;
|
3304
|
-
}
|
3305
3295
|
const uidApi = index.contentManagerApi.injectEndpoints({
|
3306
3296
|
endpoints: (builder) => ({
|
3307
3297
|
getDefaultUID: builder.query({
|
@@ -3353,7 +3343,7 @@ const UIDInput = React__namespace.forwardRef(
|
|
3353
3343
|
const [showRegenerate, setShowRegenerate] = React__namespace.useState(false);
|
3354
3344
|
const isCloning = reactRouterDom.useMatch(index.CLONE_PATH) !== null;
|
3355
3345
|
const field = strapiAdmin.useField(name2);
|
3356
|
-
const debouncedValue = useDebounce(field.value, 300);
|
3346
|
+
const debouncedValue = useDebounce.useDebounce(field.value, 300);
|
3357
3347
|
const hasChanged = debouncedValue !== field.initialValue;
|
3358
3348
|
const { toggleNotification } = strapiAdmin.useNotification();
|
3359
3349
|
const { _unstableFormatAPIError: formatAPIError } = strapiAdmin.useAPIErrorHandler();
|
@@ -4619,31 +4609,11 @@ const quoteAndCodeHandler = (editor, markdownType) => {
|
|
4619
4609
|
insertWithoutTextToEdit(editor, markdownType, line, contentLength);
|
4620
4610
|
}
|
4621
4611
|
};
|
4622
|
-
const CustomIconButton = styledComponents.styled(designSystem.IconButton)`
|
4623
|
-
padding: ${({ theme }) => theme.spaces[2]};
|
4624
|
-
|
4625
|
-
svg {
|
4626
|
-
width: 1.8rem;
|
4627
|
-
height: 1.8rem;
|
4628
|
-
}
|
4629
|
-
`;
|
4630
|
-
const CustomLinkIconButton = styledComponents.styled(CustomIconButton)`
|
4631
|
-
svg {
|
4632
|
-
width: 0.8rem;
|
4633
|
-
height: 0.8rem;
|
4634
|
-
}
|
4635
|
-
`;
|
4636
4612
|
const MainButtons = styledComponents.styled(designSystem.IconButtonGroup)`
|
4637
4613
|
margin-left: ${({ theme }) => theme.spaces[4]};
|
4638
4614
|
`;
|
4639
4615
|
const MoreButton = styledComponents.styled(designSystem.IconButton)`
|
4640
4616
|
margin: ${({ theme }) => `0 ${theme.spaces[2]}`};
|
4641
|
-
padding: ${({ theme }) => theme.spaces[2]};
|
4642
|
-
|
4643
|
-
svg {
|
4644
|
-
width: 1.8rem;
|
4645
|
-
height: 1.8rem;
|
4646
|
-
}
|
4647
4617
|
`;
|
4648
4618
|
const IconButtonGroupMargin = styledComponents.styled(designSystem.IconButtonGroup)`
|
4649
4619
|
margin-right: ${({ theme }) => `${theme.spaces[2]}`};
|
@@ -4727,9 +4697,9 @@ const WysiwygNav = ({
|
|
4727
4697
|
}
|
4728
4698
|
) }),
|
4729
4699
|
/* @__PURE__ */ jsxRuntime.jsxs(MainButtons, { children: [
|
4730
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
4731
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
4732
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
4700
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.IconButton, { disabled: true, label: "Bold", name: "Bold", children: /* @__PURE__ */ jsxRuntime.jsx(Icons.Bold, {}) }),
|
4701
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.IconButton, { disabled: true, label: "Italic", name: "Italic", children: /* @__PURE__ */ jsxRuntime.jsx(Icons.Italic, {}) }),
|
4702
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.IconButton, { disabled: true, label: "Underline", name: "Underline", children: /* @__PURE__ */ jsxRuntime.jsx(Icons.Underline, {}) })
|
4733
4703
|
] }),
|
4734
4704
|
/* @__PURE__ */ jsxRuntime.jsx(MoreButton, { disabled: true, label: "More", children: /* @__PURE__ */ jsxRuntime.jsx(Icons.More, {}) })
|
4735
4705
|
] }),
|
@@ -4768,17 +4738,9 @@ const WysiwygNav = ({
|
|
4768
4738
|
}
|
4769
4739
|
) }),
|
4770
4740
|
/* @__PURE__ */ jsxRuntime.jsxs(MainButtons, { children: [
|
4741
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.IconButton, { onClick: () => onActionClick("Bold", editorRef), label: "Bold", name: "Bold", children: /* @__PURE__ */ jsxRuntime.jsx(Icons.Bold, {}) }),
|
4771
4742
|
/* @__PURE__ */ jsxRuntime.jsx(
|
4772
|
-
|
4773
|
-
{
|
4774
|
-
onClick: () => onActionClick("Bold", editorRef),
|
4775
|
-
label: "Bold",
|
4776
|
-
name: "Bold",
|
4777
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(Icons.Bold, {})
|
4778
|
-
}
|
4779
|
-
),
|
4780
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
4781
|
-
CustomIconButton,
|
4743
|
+
designSystem.IconButton,
|
4782
4744
|
{
|
4783
4745
|
onClick: () => onActionClick("Italic", editorRef),
|
4784
4746
|
label: "Italic",
|
@@ -4787,7 +4749,7 @@ const WysiwygNav = ({
|
|
4787
4749
|
}
|
4788
4750
|
),
|
4789
4751
|
/* @__PURE__ */ jsxRuntime.jsx(
|
4790
|
-
|
4752
|
+
designSystem.IconButton,
|
4791
4753
|
{
|
4792
4754
|
onClick: () => onActionClick("Underline", editorRef),
|
4793
4755
|
label: "Underline",
|
@@ -4801,7 +4763,7 @@ const WysiwygNav = ({
|
|
4801
4763
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Popover.Content, { sideOffset: 12, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { padding: 2, children: [
|
4802
4764
|
/* @__PURE__ */ jsxRuntime.jsxs(IconButtonGroupMargin, { children: [
|
4803
4765
|
/* @__PURE__ */ jsxRuntime.jsx(
|
4804
|
-
|
4766
|
+
designSystem.IconButton,
|
4805
4767
|
{
|
4806
4768
|
onClick: () => onActionClick("Strikethrough", editorRef, handleTogglePopover),
|
4807
4769
|
label: "Strikethrough",
|
@@ -4810,7 +4772,7 @@ const WysiwygNav = ({
|
|
4810
4772
|
}
|
4811
4773
|
),
|
4812
4774
|
/* @__PURE__ */ jsxRuntime.jsx(
|
4813
|
-
|
4775
|
+
designSystem.IconButton,
|
4814
4776
|
{
|
4815
4777
|
onClick: () => onActionClick("BulletList", editorRef, handleTogglePopover),
|
4816
4778
|
label: "BulletList",
|
@@ -4819,7 +4781,7 @@ const WysiwygNav = ({
|
|
4819
4781
|
}
|
4820
4782
|
),
|
4821
4783
|
/* @__PURE__ */ jsxRuntime.jsx(
|
4822
|
-
|
4784
|
+
designSystem.IconButton,
|
4823
4785
|
{
|
4824
4786
|
onClick: () => onActionClick("NumberList", editorRef, handleTogglePopover),
|
4825
4787
|
label: "NumberList",
|
@@ -4830,7 +4792,7 @@ const WysiwygNav = ({
|
|
4830
4792
|
] }),
|
4831
4793
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.IconButtonGroup, { children: [
|
4832
4794
|
/* @__PURE__ */ jsxRuntime.jsx(
|
4833
|
-
|
4795
|
+
designSystem.IconButton,
|
4834
4796
|
{
|
4835
4797
|
onClick: () => onActionClick("Code", editorRef, handleTogglePopover),
|
4836
4798
|
label: "Code",
|
@@ -4839,7 +4801,7 @@ const WysiwygNav = ({
|
|
4839
4801
|
}
|
4840
4802
|
),
|
4841
4803
|
/* @__PURE__ */ jsxRuntime.jsx(
|
4842
|
-
|
4804
|
+
designSystem.IconButton,
|
4843
4805
|
{
|
4844
4806
|
onClick: () => {
|
4845
4807
|
handleTogglePopover();
|
@@ -4851,7 +4813,7 @@ const WysiwygNav = ({
|
|
4851
4813
|
}
|
4852
4814
|
),
|
4853
4815
|
/* @__PURE__ */ jsxRuntime.jsx(
|
4854
|
-
|
4816
|
+
designSystem.IconButton,
|
4855
4817
|
{
|
4856
4818
|
onClick: () => onActionClick("Link", editorRef, handleTogglePopover),
|
4857
4819
|
label: "Link",
|
@@ -4860,7 +4822,7 @@ const WysiwygNav = ({
|
|
4860
4822
|
}
|
4861
4823
|
),
|
4862
4824
|
/* @__PURE__ */ jsxRuntime.jsx(
|
4863
|
-
|
4825
|
+
designSystem.IconButton,
|
4864
4826
|
{
|
4865
4827
|
onClick: () => onActionClick("Quote", editorRef, handleTogglePopover),
|
4866
4828
|
label: "Quote",
|
@@ -4938,7 +4900,7 @@ const Wysiwyg = React__namespace.forwardRef(
|
|
4938
4900
|
const handleSelectAssets = (files) => {
|
4939
4901
|
const formattedFiles = files.map((f) => ({
|
4940
4902
|
alt: f.alternativeText || f.name,
|
4941
|
-
url:
|
4903
|
+
url: useDebounce.prefixFileUrlWithBackendUrl(f.url),
|
4942
4904
|
mime: f.mime
|
4943
4905
|
}));
|
4944
4906
|
insertFile(editorRef, formattedFiles);
|
@@ -5586,4 +5548,4 @@ exports.transformDocument = transformDocument;
|
|
5586
5548
|
exports.useDynamicZone = useDynamicZone;
|
5587
5549
|
exports.useFieldHint = useFieldHint;
|
5588
5550
|
exports.useLazyComponents = useLazyComponents;
|
5589
|
-
//# sourceMappingURL=Field-
|
5551
|
+
//# sourceMappingURL=Field-9DePZh-0.js.map
|