@capillarytech/creatives-library 8.0.228 → 8.0.229
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
|
@@ -1491,16 +1491,6 @@ class FormBuilder extends React.Component { // eslint-disable-line react/prefer-
|
|
|
1491
1491
|
if (tag?.match(ENTRY_TRIGGER_TAG_REGEX)) {
|
|
1492
1492
|
return false;
|
|
1493
1493
|
}
|
|
1494
|
-
|
|
1495
|
-
// Skip specific tags for email channel
|
|
1496
|
-
const isEmailChannel = this.props?.schema?.channel?.toUpperCase() === EMAIL;
|
|
1497
|
-
if (isEmailChannel) {
|
|
1498
|
-
const emailSkipTags = ['image', 'info', 'teaser', 'desc'];
|
|
1499
|
-
if (emailSkipTags.includes(tag?.toLowerCase())) {
|
|
1500
|
-
return true;
|
|
1501
|
-
}
|
|
1502
|
-
}
|
|
1503
|
-
|
|
1504
1494
|
// Use some() to check if any pattern matches (stops on first match)
|
|
1505
1495
|
return SKIP_TAGS_REGEX_GROUPS.some((group) => {
|
|
1506
1496
|
// Create a new RegExp for each test to avoid state issues with global flag
|