Stable
Blocks use the Tabler visual language. Cards, buttons, badges, type, radius, and shadows follow Tabler 1.4 (~/tabler, tabler.css and tabler-marketing.css): system sans, 14px controls, 6px buttons, 8px cards, a 1px border, and a soft c
Read full notes
13 changes
- Changed Blocks use the Tabler visual language. Cards, buttons, badges, type, radius, and shadows follow Tabler 1.4 (
~/tabler, tabler.css and tabler-marketing.css): system sans, 14px controls, 6px buttons, 8px cards, a 1px border, and a soft card shadow. Colors still come from the theme, so Marketers Delight’s [data-theme] toggle and a dark operating system keep driving light and dark. Tabler’s own palette is only the fallback when a theme variable is missing. - Fixed Dark text on dark surfaces. Hero and CTA text was inherited, so a dark heading color could sit on a dark card or photo. Thread’s light style pinned
#0f1419 while its background followed the theme. URL preview’s featured gradient ended on a light blue, and its dark style painted field values with the border color. Post display and feature grid dark styles used muted and border tokens that stay dark on a fixed dark panel. Filled buttons that used the theme primary, or white text on a text-colored fill, now use the button fill with the text color that belongs on it. A product box badge picks dark or light text from its background. - Added Pricing, Logo Cloud, Steps, and Trust Bar. Four marketing blocks for landing pages: plan cards with one highlighted tier, a logo row (with an optional grayscale style), a numbered “how it works” sequence, and a strip of guarantees. Every field is optional. They register in a new ACF Marketing inserter category and do not change how existing blocks are stored or rendered.
- Added Hero image position. Background (the original cover image), left, right, or stacked. An empty or Background value keeps the previous markup, with no extra class. An optional overlay color is printed only on the background layout, and only when a color is set.
- Added CTA alignment and a second button. Centered text is unchanged. Left or right adds a modifier class. A second classic button renders only when it has both a label and a URL. “Open in a new tab” adds
target and rel only when it is switched on, for both the hero and CTA classic buttons. - Fixed Colors in style attributes are limited to real color values. Section, callout, CTA, product cards, compare, product box badges, and the thread connector previously printed the picker value after HTML escaping, which still allowed a second CSS declaration. Hex (including 4- and 8-digit),
rgb()/hsl(), transparent, and currentColor pass through. The product box badge, product card header, and thread connector keep their previous fallback colors when the field is empty. - Fixed Section custom tags can no longer open another element. A custom tag is accepted only as a single tag name.
script, svg, and values such as img src=x fall back to section. Ordinary tags such as article and blockquote still work. - Fixed Checklist cards no longer pin a light panel in dark mode. The old
#f9fafb background was written inline, so it beat the theme token. That legacy value is now omitted. A color an editor actually chose is still written. The green accent default (#16a34a) is unchanged, including when the field is empty. - Fixed ACF true/false values of
"0" are off. A plain boolean cast treats the string "0" as true, so an unchecked checklist item, an unchecked “verified” mark, and the checklist toggles could render as on. "1", 1, and true still mean on. - Fixed Stats stay at their real number until the count-up starts. The script used to set every value to 0 before the block scrolled into view, so a stat that never intersected (a closed disclosure, print, or a missed observer) stayed at 0. Numbers with thousands separators also count the full value. Blocks added after the first paint, including infinite scroll, start the same way.
- Fixed Coupon copy no longer depends on an inline handler. The button stores the code in
data-code, and a conditional view script copies it. If the async clipboard is denied, it falls back to a textarea selection instead of failing silently. - Fixed Opacity colors such as
rgba(0, 0, 0, 1.0) stay applied. The color check treated 1.0 as invalid, so a fully opaque picker value on a section or hero overlay was dropped. - Fixed Pricing and steps no longer leave an empty column. Fewer plans than the chosen column count use only the columns they need, and a step sequence sizes itself to the steps. Blank repeater rows are skipped. A marketing block with nothing to show does not print an empty section. Two classic CTA buttons wrap instead of colliding.