| 1 |
<table |
| 2 |
width="<?php esc_attr_e( $general_attrs['tableWidth'], 'woocommerce' ); ?>" |
| 3 |
cellspacing="0" |
| 4 |
cellpadding="0" |
| 5 |
border="0" |
| 6 |
align="center" |
| 7 |
style="display: table; <?php echo esc_attr( 'background-color: ' . $attrs['backgroundColor'] ); ?>; <?php echo ! $isInColumns ? esc_attr( 'min-width:' . $general_attrs['tableWidth'] . 'px' ) : esc_attr( 'width: 100%' ); ?>" |
| 8 |
class="web-main-row" |
| 9 |
id="web<?php echo esc_attr( $id ); ?>" |
| 10 |
> |
| 11 |
<tbody> |
| 12 |
<tr> |
| 13 |
<td |
| 14 |
id="web<?php echo esc_attr( $id ); ?>-html" |
| 15 |
class="web-html-code" |
| 16 |
:style="{ |
| 17 |
'fontFamily': emailContent.settingRow.family, |
| 18 |
'fontSize': emailContent.settingRow.fontSize + 'px', |
| 19 |
'color': emailContent.settingRow.textColor, |
| 20 |
'padding': emailContent.settingRow.paddingTop + 'px ' + emailContent.settingRow.paddingRight + 'px ' + emailContent.settingRow.paddingBottom + 'px ' + emailContent.settingRow.paddingLeft + 'px' |
| 21 |
}" |
| 22 |
style='word-break: break-word; |
| 23 |
font-family: <?php echo wp_kses_post( str_replace( '"', '', $attrs['family'] ) ); ?>; |
| 24 |
<?php echo esc_attr( 'font-size: ' . $attrs['fontSize'] . 'px' ); ?>; |
| 25 |
<?php echo esc_attr( 'padding: ' . $attrs['paddingTop'] . 'px ' . $attrs['paddingRight'] . 'px ' . $attrs['paddingBottom'] . 'px ' . $attrs['paddingLeft'] . 'px;' ); ?> |
| 26 |
' |
| 27 |
> |
| 28 |
<div class="nta-html-code-content-wrap" style="width:100%"> |
| 29 |
<?php if ( '' === $attrs['HTMLContent'] ) : ?> |
| 30 |
<div class="nta-html-code-no-content"> |
| 31 |
<a-icon type="code" style="color: #c2cbd2;font-size: 22px;display: block;text-align: center;padding: 10px 0;"></a-icon> |
| 32 |
</div> |
| 33 |
<?php else : ?> |
| 34 |
<div class="nta-html-code-content" style="min-height: 10px;width:100%" v-html="emailContent.settingRow.HTMLContent"> |
| 35 |
<?php echo wp_kses_post( $attrs['HTMLContent'] ); ?> |
| 36 |
</div> |
| 37 |
<?php endif; ?> |
| 38 |
</div> |
| 39 |
</td> |
| 40 |
</tr> |
| 41 |
</tbody> |
| 42 |
</table> |
| 43 |
|