{"id":291713,"date":"2026-03-25T01:33:19","date_gmt":"2026-03-25T01:33:19","guid":{"rendered":"https:\/\/ja.wordpress.org\/plugins\/reformbox\/"},"modified":"2026-09-17T04:19:37","modified_gmt":"2026-09-17T04:19:37","slug":"reformbox","status":"publish","type":"plugin","link":"https:\/\/pt.wordpress.org\/plugins\/reformbox\/","author":16189872,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.3.5","stable_tag":"0.3.5","tested":"7.1.1","requires":"6.4","requires_php":"7.4","requires_plugins":null,"header_name":"ReformBox","header_author":"tbshiki","header_description":"Universal Lightbox for WordPress \u2013 lightbox support for Group, Paragraph, Video blocks with poster images, and core Image workflows.","assets_banners_color":"","last_updated":"2026-09-17 04:19:37","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/tbshiki\/reformbox","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":10,"downloads":410,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.3.2":{"tag":"0.3.2","author":"tbshiki","date":"2026-03-25 01:32:42","revision":3490445},"0.3.3":{"tag":"0.3.3","author":"tbshiki","date":"2026-03-26 10:17:42","revision":3491662},"0.3.5":{"tag":"0.3.5","author":"tbshiki","date":"2026-09-17 04:19:37","revision":3699529}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.3.2","0.3.3","0.3.5"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[4121,148076,237,613,491],"plugin_category":[],"plugin_contributors":[258565],"plugin_business_model":[],"class_list":["post-291713","plugin","type-plugin","status-publish","hentry","plugin_tags-blocks","plugin_tags-gutenberg","plugin_tags-lightbox","plugin_tags-modal","plugin_tags-popup","plugin_contributors-tbshiki","plugin_committers-tbshiki"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/reformbox.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>ReformBox extends WordPress Lightbox functionality beyond images. It currently supports Group, Paragraph, and Video blocks with poster images directly, while delegating Image lightbox behavior to WordPress core. For <code>core\/image<\/code>, ReformBox only syncs the sidebar toggle with core lightbox settings.<\/p>\n\n<p><a href=\"https:\/\/github.com\/tbshiki\/reformbox\">This plugin is developed on GitHub.<\/a><\/p>\n\n<p><strong>Supported Blocks:<\/strong><\/p>\n\n<ul>\n<li>Image Block \u2013 Uses WordPress core lightbox behavior (ReformBox panel toggles core <code>lightbox.enabled<\/code>)<\/li>\n<li>Video Block \u2013 Opens in a lightbox when a poster image is set (poster acts as the click trigger)<\/li>\n<li>Group Block \u2013 Supports both <code>same<\/code> mode (same content in page + modal) and <code>split<\/code> mode (separate Preview\/Modal direct child Group slots)<\/li>\n<li>Paragraph Block \u2013 Click to open itself in a lightbox<\/li>\n<\/ul>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li>No-code lightbox creation via block editor controls<\/li>\n<li>Core-first image lightbox integration (<code>core\/image<\/code>)<\/li>\n<li>Core-aligned overlay markup for custom lightboxes<\/li>\n<li>Core-aligned zoom animation<\/li>\n<li>ESC key and overlay click to close<\/li>\n<li>Accessible (ARIA attributes, focus management, keyboard navigation)<\/li>\n<li>Group split mode with Preview\/Modal slot mapping<\/li>\n<li>Safe split fallback: if no Modal slot is assigned, Preview content is used<\/li>\n<li>Lazy-loaded assets (CSS\/JS only loaded when needed)<\/li>\n<li>Self-lightbox videos defer preload\/autoplay until opened<\/li>\n<li>Core image workflow integration without overriding core image rendering<\/li>\n<li>Global overlay background color and opacity controls in Settings &gt; ReformBox<\/li>\n<li>Plugin list row includes a Settings action link for quick access<\/li>\n<li>Lightweight and performant<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>In your WordPress admin, go to Plugins &gt; Add New Plugin<\/li>\n<li>Search for <code>ReformBox<\/code><\/li>\n<li>Click <code>Install Now<\/code>, then click <code>Activate<\/code><\/li>\n<li>Open the block editor and select any supported block<\/li>\n<li>Enable ReformBox in the block's settings panel (for Image blocks, use <code>Enable Core Image Lightbox<\/code>)<\/li>\n<\/ol>\n\n<p>For Video blocks, add a poster image in the block settings before enabling ReformBox.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20reformbox%20replace%20the%20core%20image%20lightbox%3F\"><h3>Does ReformBox replace the core image lightbox?<\/h3><\/dt>\n<dd><p>No. <code>core\/image<\/code> self-lightbox behavior is delegated to the WordPress core lightbox. ReformBox extends the surrounding workflow so images, videos, and container content can share a common modal workflow.<\/p>\n\n<p>For images, the ReformBox sidebar toggle only updates the core <code>lightbox.enabled<\/code> setting; the clickable link behavior and overlay rendering are still handled by WordPress core.<\/p><\/dd>\n<dt id=\"why%20does%20video%20lightbox%20require%20a%20poster%20image%3F\"><h3>Why does Video lightbox require a poster image?<\/h3><\/dt>\n<dd><p>Video self-lightbox uses the poster image as the visible in-page trigger and loads the full video inside the overlay. Without a poster image, ReformBox keeps the video lightbox toggle disabled.<\/p><\/dd>\n<dt id=\"how%20does%20group%20split%20mode%20work%3F\"><h3>How does Group split mode work?<\/h3><\/dt>\n<dd><p>Enable ReformBox on a Group block, then switch <code>Display Mode<\/code> to <code>Split<\/code>. Inside that parent Group, set direct child Group blocks to <code>Preview<\/code>, <code>Modal<\/code>, or <code>Preview + Modal (Both)<\/code> in the sidebar.<\/p>\n\n<p>Preview content is rendered in-page, Modal content is rendered inside the lightbox overlay, and unassigned child Groups (none) are rendered in both. If modal content is still empty, ReformBox automatically falls back to Preview content.\nSlot Type controls are shown only on direct child Group blocks of the split parent.<\/p><\/dd>\n<dt id=\"where%20can%20i%20change%20reformbox%20overlay%20appearance%3F\"><h3>Where can I change ReformBox overlay appearance?<\/h3><\/dt>\n<dd><p>Open <code>Settings &gt; ReformBox<\/code> in WordPress Admin. You can set the ReformBox overlay background color and opacity there.\nThe same settings screen is also linked from the plugin row action (<code>Plugins &gt; ReformBox &gt; Settings<\/code>).<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.3.5<\/h4>\n\n<ul>\n<li>Preserved <code>inert<\/code> attributes owned by themes, WordPress core, or other plugins when a ReformBox lightbox closes<\/li>\n<li>Expanded the focus trap to media controls, iframes, summary elements, and editable content while excluding disabled, hidden, inert, and negative-tabindex elements<\/li>\n<li>Updated development dependencies to reduce known build-tool vulnerabilities; the distributed WordPress plugin continues to have no runtime npm dependencies<\/li>\n<\/ul>\n\n<h4>0.3.4<\/h4>\n\n<ul>\n<li>Verified against WordPress 7.1 and updated the tested-up-to version<\/li>\n<li>Made the page behind an open lightbox inert, so screen readers and keyboard focus stay inside the dialog (same approach as the core image lightbox)<\/li>\n<li>Fixed the overlay opacity setting being ignored on pages that also load core's image lightbox styles; video overlays could turn fully opaque there<\/li>\n<li>Fixed lightbox dialogs being nearly edge-to-edge on phone widths; the gutter is now a consistent 16px at every viewport width<\/li>\n<li>Fixed short content collapsing into a very narrow dialog box<\/li>\n<li>Added WordPress 7.1's <code>wp-lightbox-close-button<\/code> class to the close button so it keeps matching the core lightbox design<\/li>\n<\/ul>\n\n<h4>0.3.3<\/h4>\n\n<ul>\n<li>Unified ReformBox overlay controls into a single background color + opacity setting<\/li>\n<li>Improved consistency of overlay background rendering across ReformBox lightboxes<\/li>\n<li>Kept WordPress core lightbox appearance override separate from ReformBox overlay controls<\/li>\n<\/ul>\n\n<h4>0.3.2<\/h4>\n\n<ul>\n<li>Improved overlay styling and close behavior to avoid unintended interactions with page content and WordPress core lightbox instances<\/li>\n<\/ul>\n\n<h4>0.3.1<\/h4>\n\n<ul>\n<li>Clarified Image and Video lightbox behavior in the plugin documentation<\/li>\n<\/ul>\n\n<h4>0.3.0<\/h4>\n\n<ul>\n<li>Improved internal code quality and release preparation for the plugin<\/li>\n<\/ul>\n\n<h4>0.2.0<\/h4>\n\n<ul>\n<li>Added Group split mode and refined lightbox behavior for content and media blocks<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Group block as lightbox container<\/li>\n<li>Image\/Video block self-lightbox<\/li>\n<li>Paragraph block as self-lightbox<\/li>\n<li>Core-aligned zoom animation<\/li>\n<li>Keyboard and accessibility support<\/li>\n<\/ul>","raw_excerpt":"Universal Lightbox for WordPress \u2013 lightbox support for Group, Paragraph, Video blocks with poster images, and core Image workflows.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/291713","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=291713"}],"author":[{"embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tbshiki"}],"wp:attachment":[{"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=291713"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=291713"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=291713"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=291713"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=291713"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=291713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}