@capillarytech/creatives-library 8.0.345-alpha.1 → 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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "8.0.345-alpha.1",
4
+ "version": "8.0.345-alpha.2",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -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
- ...(!isFullMode && { templateData }),
731
730
  getFormdata,
732
731
  getFormSubscriptionData: getFormdata,
733
732
  getDefaultTags: type,