Skip to main content

1.21.0 - iFrame block and stability fixes

· One min read
Konstantin Brazhnik
Senior Full Stack Engineer @ Yoko Co

Version 1.21.0 adds the new iFrame Gutenberg block and rolls up the PDF Viewer, editor, and ACF stability fixes shipped after 1.20.3.

  • [FEATURE] Adds the new iFrame block for Gutenberg, including URL/title block bindings, responsive aspect-ratio controls, optional fixed height, loading behavior, fullscreen support, and sandbox permissions.

  • [FIX] The PDF Viewer print button works again, and PDF attachment permalinks can auto-trigger printing with hash values like #print=true. See the Custom PDF Viewer docs for supported formats and browser behavior notes.

  • [FIX] Beaver Builder connections and shortcodes now preserve PDF Viewer auto-print behavior when they generate or transform PDF links.

  • [FIX] PDF Viewer auto-print now fails gracefully when the browser cannot start printing, avoiding broken experiences on unsupported or blocked environments.

  • [FIX] The style-as-button editor script now adds the seopress-classic dependency only when that handle is actually registered, preventing debug-log dependency notices on unrelated admin screens.

  • [FIX] The ACF "Post Parent" location rule now bails out cleanly when no real post context exists, preventing warnings on new-post screens, field-group previews, block/widget contexts, and REST requests.