Rendering and compatibility

Review the public HTML, supported rendering behavior, compatibility handles, system page designs, and themes.

Back to Inventory

Public Rendering Shell

The packaged favicon URLs use a revision derived from each asset's file contents. Normal pages, the branded 404 and the built-in maintenance page use the same revision rule. A site's selected public favicon still takes precedence on its public pages.

Normal main-slot rendering provides:

<main class="wb-public-main" id="main-content">
  <div class="wb-container wb-container-lg">
    <div class="wb-stack wb-gap-6">
      <!-- page blocks -->
    </div>
  </div>
</main>

Blocks marked root-owning place data-wb-public-block-type on their own semantic root. Other top-level blocks normally receive:

<div class="wb-public-block" data-wb-public-block-type="block-handle">
  <!-- renderer output -->
</div>

Underscores normalize to hyphens in data-wb-public-block-type; for example content_header becomes content-header.

Human-Only Advanced Block

html — HTML (Trusted)

Contract area Source-backed behavior and target policy
Purpose Reviewed human escape hatch for trusted markup that has no structured product contract yet.
Admin-editable content Trusted HTML content. The current translation registry treats it as text-family content.
Settings and variants None. Recognized overlay/body-end fragments may be extracted to package registries.
Children/media No children.
HTML Generic wrapper plus a plain inner <div> containing trusted markup; extracted fragments may render outside the visible root.
API authoring Prohibited. No create, update, replacement, topology mutation, destructive mutation, staged mutation, or publish mutation.
AI behavior Report a capability gap and propose a structured block/variant/renderer. Never generate a writable HTML payload.

Legacy And Renderer-Only Handles

Do not treat a Blade partial as proof that a handle is available for new API content. The current source contains compatibility renderers and draft rows that are not published core authoring contracts.

Draft catalog rows include:

text
card-grid
tabs
menu
faq-list
showcase-list
contact-info

Renderer-only, alias, partial, or compatibility handles include examples such as:

accordion
faq
button
callout
list
map
metric-card
stats
testimonial
gallery-viewer
sidebar-nav-item-link
sidebar-navigation-menu-item
fallback
missing-renderer

Rules:

  • Never author these merely because a renderer file exists.
  • Use them only if the live authenticated block catalog reports the exact handle as published and usable for the current install.
  • Prefer canonical structured blocks documented above.
  • Internal partials such as gallery viewer and sidebar link renderers are never content-plan block types.

Supported Limitations

The footer uses normal layout and navigation blocks; a dedicated footer-composition block is not required or implied by WebBlocks UI class names. Use documented native blocks for shared footers.

Prose descriptions of appearance are not approved screenshot references. Confirm responsive output and visual behavior in the target installation before promising fidelity to a design.

Discovery describes the installed authoring contract. It does not certify an external provider, future plugin capability or visual output that has not been reviewed.

Bounded measurement presentation

CMS 1.118.0 bundles WebBlocks UI 2.34.0, including native accordion/collapse, UI-owned disclosure chevrons, corrected modal/drawer focus containment, inactive slider focus protection and native meter.wb-meter for bounded measurements such as a poll choice percentage. Plugins render valid min, max and value attributes, accessible names and visible localized values; UI supplies themed native track/fill styling without JavaScript or inline CSS. This adds no core block type, editor field, stored setting, permission or API. UI assets remain versioned and bundled with the package for offline rendering.

System page designs

System Pages are regular editable page records with page_type=system, bound by a unique relational site/screen identity. They belong in Pages, with a System badge and Content/System type filter; there is no second content editor under System. Pages offers a compact System pages catalogue for the selected site, in a native WebBlocks UI accordion with a visible rotating chevron and labelled, keyboard-operable trigger/panel. Reads never provision records. Preparing a design is an explicit, authorized POST requiring cms.pages.create for that site; it is idempotent and creates the page, normal layout slots, native draft editorial blocks, enabled-locale translation rows and complete initial revision in one transaction. Successful preparation opens a page whose content is already stored and editable through Main → Edit Blocks; no content-fill step is required. Default content is persisted only as ordinary CMS blocks and typed SQL settings, not JSON templates or a parallel content store. Existing saved Pages views default to all types.

Core definitions are core:error-404 and core:error-503. Enabled plugins may declare their own definitions with PluginDefinition::systemPages, keyed by a local handle and containing a translated label key, public route-name suffixes and optional blocks creation recipes declared in PHP. Each recipe uses type (hero, header, plain_text, button_link), namespaced translation keys in translations (title, subtitle, eyebrow, content), native settings and variant, and optional children accepted by its native parent. These trusted-code recipes are never a persistent page authority: they create ordinary editable rows once. Older declarations without recipes receive a generic translated Hero starter; plugin acceptance requires meaningful screen-specific defaults. Core prefixes these routes and keys with the owning plugin; disabled plugins cannot supply an active definition. There is one design per site/screen, never a page per token, customer or order. No host-specific registrations belong in core.

The existing page editor manages layout, Shared Slot bindings, authored blocks, translations, preview, revisions and workflow. Its Screen summary shows the registered screen name in the panel language, falling back to the saved page title when the definition is unavailable. The technical binding key is retained only in a collapsed, labelled native Technical details accordion with a visible chevron. Its Translations table uses the plural Actions heading and compact SEO, edit and add icon links, named by localized action and language; existing route, locale and workflow authorization behavior is retained. Normal content and Shared Slot capabilities continue to apply. Saving retains the system type and site; generic duplication and cross-site moves are refused. System records have no ordinary public path and never appear as public navigation, page-list, sitemap, search-index or site SEO-audit entries. The page/slot/block API can edit a prepared design using its existing capabilities; preparing the screen binding currently belongs to the Pages panel.

Only a published design replaces the built-in screen. A plugin controller keeps its route parameters, authorization, signed URLs, transaction logic, forms, status and response headers; the CMS public layout surrounds the existing content with the selected design. Feature-provided title/metadata remain in effect. Authored Main content precedes required plugin runtime content. The four first-party integrations omit their repeated static heading when Main supplies editorial content; record-dependent product titles, order/payment states and secure forms remain runtime-owned. Error screens use authored Main blocks as their content rather than appending a second immutable default message. Removing/disabling Main cannot remove the functional form/result: a Main region is supplied before Footer if missing. Core error previews show saved native editorial blocks, with no unrelated form placeholder. Plugin previews show saved blocks plus a clearly identified functional placeholder without executing customer transactions. Preview never fabricates unsaved editorial blocks or writes content. Ordinary editor forms open with saved text prefilled and save through the native block update route. Removing or editing blocks is reflected in preview. Public error designs require published Main blocks; until then the built-in public error screen remains available. There is no separate default-content fill endpoint or editor action. Shared Slot site, layout, slot and publication compatibility checks remain unchanged. Unconfigured, draft, archived and unavailable-plugin designs leave the built-in feature appearance in place.

Public HTML 404s use the site's published error design while retaining status 404 and noindex/private headers. JSON errors and host-owned 404 templates retain their existing behavior. Missing schemas or a failed custom error render fall back to the defensive built-in error screen. The published primary site's 503 design is compiled to derived HTML before CMS maintenance starts; the static maintenance view reads that file without database access, and the preboot response retains 503/Retry-After. This maintenance gate is installation-wide, so it uses the primary site rather than claiming per-domain rendering while the app is stopped. A missing or failed design uses the static built-in template. No CMS search or consent overlays are included in the maintenance snapshot.

Site exports carry system_page_key for bound designs and omit unbound System Page staging/revision copies. The page API exposes system_page_key, including the source identity for staged copies. Site imports retain this identity in SQL and keep imported system designs in draft; they never activate a feature or publish a screen merely by importing. Full backups include the relational binding table. Search and cookie preferences remain current-page modal tools, not System Page definitions. Authentication, installer and recovery screens remain operational surfaces outside the public System Pages catalogue.

The existing path-based Site Promotion flow refuses packages containing System Pages rather than creating unbound designs or archiving target screen records. Transfer those designs with Site Import; export only ordinary pages when preparing a content promotion package. Automatic page templates and navigation destinations cannot select a System Page.

Native disclosure ownership

Administration, consent fallbacks, the public compatibility Accordion renderer and bundled update-client views use WebBlocks UI 2.34.0 disclosures. Groups use details.wb-accordion-item > summary.wb-accordion-trigger inside wb-accordion; independent panels use details.wb-collapse-panel > summary.wb-collapse-trigger. Each item has one native body wrapper. Native open preserves initial state and independent nested panels without JavaScript; multiple items may remain open. UI owns the decorative chevron, body spacing and modal/drawer focus boundaries. There are no manually supplied disclosure chevrons or duplicate summary button roles/aria-expanded/tabindex. Form controls and actions stay outside summaries. Permission selections, filtered initial openings, consent submission, saved-view forms and update-history entries preserve their existing behavior. Version-only release notes remain ordinary rows rather than empty disclosures.

Builder item bodies use native details panels controlled through the existing WBCollapse.toggle API with render-unique, editor/index-scoped panel ids. Their native summary is hidden because the external header toggle remains available beside reorder/delete actions; closed native bodies leave the keyboard sequence and open bodies have natural height without a legacy CSS ceiling. Panel ids stay unchanged during reordering; order, deletion and form values remain CMS-owned. The flat block-tree table retains its hierarchy, search, persisted expansion and ancestor visibility rules rather than hiding table rows through generic panel CSS. No new authoring field, block catalog entry or persistence is introduced.

Installable public themes

Super admins install immutable ZIP packages under System → Public themes. Super admins can browse compatible releases and explicitly install a ZIP or an update from the Extensions catalog at https://extensions.webblocksui.com by default. WEBBLOCKS_EXTENSIONS_CATALOG_BASE_URL sets a custom address for both themes and plugins. A nonempty WEBBLOCKS_PLUGIN_CATALOG_BASE_URL takes precedence for plugins and is the theme fallback when the Extensions override is unset. Theme browsing requires an HTTPS catalog origin and is disabled by an explicitly empty Extensions override. The CMS checks the selected handle, version, archive size, SHA-256 and package compatibility before installing. Catalog downloads follow the same installation and activation boundaries as manual uploads. Installing an update adds a version and leaves every site's active version and history intact. The package management screen filters installed versions by name or version, shows the upload date, and opens a ZIP upload dialog from the list header. Unused versions are deleted through the row action and confirmation dialog. API package management requires the explicit themes.manage capability on an installation-wide system token owned by an active Super admin. Packages contain a format-1 webblocks-theme.json manifest, root theme.css and optional declared-by-path local WOFF2 or raster assets under assets/. The manifest defines identity, version, license, CMS and WebBlocks UI constraints, supported core layout handles and the optional button_corners setting (default, sharp, soft). Runtime selection, assets and change history are relational. Versions referenced by site history are retained for restoration.

The Edit Site header links to the site theme list through Manage Site Theme. The Appearance tab groups the Public Preset and Preset Preview cards above Brand palette. Installed versions show whether they are active, can be activated, or have compatibility issues on the selected site, with reasons for blocked activation. Versions eligible for preview offer an eye action that opens their own comparison page with a standard filter card and Apply. Site settings mutation permission controls activation and restoration. Page read permission also applies to previews. The API uses site-settings.write with content.read additionally required for HTML previews. API preview returns a short-lived X-WebBlocks-Theme-Confirmation for compatible candidates. Activation rechecks the site selection, appearance settings, package integrity and layout coverage before recording a new site revision. Preview is private and uses the saved page graph inside non-interactive frames. The frames sit side by side when the comparison area can fit both at the selected desktop or phone width. They stack in narrower areas. Preview suppresses scripts and visitor overlays. Page and Shared Slot structure, content translations, URLs and site assets remain site-owned. An uploaded update stays available alongside existing versions until explicitly selected per site.

Public rendering adds scoped package CSS after CMS preset CSS and before brand overrides and site CSS. The six packaged presets remain the built-in appearance. Unsupported layouts or unavailable package styles fall back to the site's built-in preset at render time. Returning to the preset or a previous revision changes the theme selection and its typed setting only. The package adds no new block type, locale, shell or template override.