@capillarytech/creatives-library 8.0.345-alpha.0 → 8.0.345-alpha.2
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/package.json
CHANGED
|
@@ -705,6 +705,12 @@ export function SlideBoxContent(props) {
|
|
|
705
705
|
// and getDetails?type=BEE_PLUGIN would never fire. Routing BEE
|
|
706
706
|
// templates through the direct <Email> path — which is already
|
|
707
707
|
// battle-tested for the CKEditor flow — sidesteps that entirely.
|
|
708
|
+
console.log('[SlideBoxContent] templateData:', templateData);
|
|
709
|
+
console.log('[SlideBoxContent] templateData.base:', templateData?.base);
|
|
710
|
+
console.log('[SlideBoxContent] templateData.base.is_drag_drop:', templateData?.base?.is_drag_drop);
|
|
711
|
+
console.log('[SlideBoxContent] typeof templateData.base.is_drag_drop:', typeof templateData?.base?.is_drag_drop);
|
|
712
|
+
console.log('[SlideBoxContent] is_drag_drop === true:', templateData?.base?.is_drag_drop === true);
|
|
713
|
+
console.log('[SlideBoxContent] is_drag_drop === 1:', templateData?.base?.is_drag_drop === 1);
|
|
708
714
|
const isBEETemplate = templateData?.base?.is_drag_drop === true
|
|
709
715
|
|| templateData?.base?.is_drag_drop === 1;
|
|
710
716
|
if (supportCKEditor || isBEETemplate) {
|
|
@@ -727,7 +727,6 @@ const useEmailWrapper = ({
|
|
|
727
727
|
route: { name: 'email' },
|
|
728
728
|
params: emailParams,
|
|
729
729
|
isGetFormData,
|
|
730
|
-
|
|
731
730
|
getFormdata,
|
|
732
731
|
getFormSubscriptionData: getFormdata,
|
|
733
732
|
getDefaultTags: type,
|
|
@@ -914,7 +913,6 @@ const useEmailWrapper = ({
|
|
|
914
913
|
emailProps,
|
|
915
914
|
cmsTemplatesProps,
|
|
916
915
|
uploadButtonLabel,
|
|
917
|
-
...(!isFullMode && { templateData }),
|
|
918
916
|
|
|
919
917
|
// Event handlers
|
|
920
918
|
onTemplateNameChange,
|