| 开发者 | luxsnap |
|---|---|
| 更新时间 | 2026年8月30日 20:07 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/decoblocks, or install the plugin through the WordPress plugins screen directly.Yes. Every block also has a matching shortcode with a toolbar button and Quicktags button for the Classic Editor.
No. Styles and scripts are only loaded when needed, and all animations are lightweight, dependency-free JavaScript.
white-space: nowrap button style. Pack names now wrap inside their button as intended.!important rule. On themes that style blockquote through a higher-specificity selector (e.g. .entry-content blockquote), that theme rule could still win over the reset, letting the theme's own default left border (often in the theme's accent color) show through on quote styles that intentionally have no border of their own in the free version, such as "Corner Frame" and "Postit" — making them look like a plain box with a single stray line on the left instead of their designed look. The reset (and each quote style's own border, e.g. "Classic"'s left border and "Line Frame"'s top/bottom lines) is now marked !important, so DecoBlocks' own design always wins regardless of theme specificity.transform: scaleX() directly on the editable text element itself, which is a known category of browser bug — applying transform to a contenteditable element can break its cursor/click-to-focus handling. The same visual sweep-in effect is now done by animating the background's width instead of using transform, which doesn't interfere with editing. Requires updating the separate "DecoBlocks 3D Style Upgrade" plugin to 1.2.3+ as well.<blockquote> element, which some themes style with their own default border/background — this could silently bleed into a DecoBlocks quote style that doesn't already fill that space itself (most visibly, "Line Frame" could pick up an unwanted extra border from the active theme, on top of its own top/bottom lines). DecoBlocks' Quote block now explicitly resets border/background to a clean slate before applying its own style, so it always renders exactly as designed regardless of the active theme.align="left"). Left alignment only changes the text alignment inside the block — the block's own padding is untouched, so text never sits flush against the edge. Requires updating the separate "DecoBlocks 3D Style Upgrade" plugin to 1.2.2+ as well (see below).<iframe>) was never receiving this plugin's own CSS file at all, on any site, license or no license. The stylesheet loaded successfully (HTTP 200) but was never synced into that iframe, so every block - not just the 3D variants, the plain 2D ones too - appeared completely unstyled while writing (shapes, borders, backgrounds all missing), even though the exact same CSS rendered correctly on the actual published post and in Preview. Every block is now registered with WordPress's style parameter (register_block_type()), which is the officially guaranteed mechanism for syncing a block's CSS into the editor iframe, instead of relying on a plain wp_enqueue_style() call that iframe-based editors can silently ignore. Requires updating the separate "DecoBlocks 3D Style Upgrade" plugin to 1.2.1+ as well, which received the matching fix for its own 3D CSS.sanitize_title() already percent-encodes non-Latin slugs; encoding it again turned every % into %25, corrupting it beyond recognition on the marketplace server).[] is truthy). The preview + "license required" message now shows consistently for any locked pack, and the full list shows consistently once a valid key is entered.example definition to all 12 blocks so their real appearance is visible before inserting. (Insert Sticker and Buy 3D Style Upgrade are interactive/action blocks with no fixed visual output, so they show an empty preview rather than a placeholder — that's inherent to how they work, not a bug.)dbk_-prefixed shortcode registrations (dbk_sticker and the dbk_* block shortcodes) that were kept as backward-compatible aliases — all shortcodes now use only the decobl_ prefix.display: inline-flex, which is inline-level — two bubbles typed on separate lines could end up sitting side-by-side on the same row instead of stacking, in both 2D and 3D. Changed to display: flex (block-level) so each bubble always starts on its own linelabel attribute rather than wrapped content — it now inserts a default "Congrats!" label so there's something visible to editgradient_color shortcode attribute) to pick any color, which fades from solid to transparent left-to-rightmark.dbk-highlight { background: none; }) had higher CSS specificity (tag+class) than the 3D variant rule (class only), so it always won regardless of source order and silently cancelled the gradient. The 3D rule's selector is now .dbk-highlight.dbk-highlight--gradient3d (matching specificity, correctly overriding the base rule)