Install
Works with Drupal: ^11.1.2Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Introducing globally compiled Tailwind CSS based on markup from all code components. Entering formatted text in props is now supported by a simple CKEditor widget. You can inspect and audit live usage of components at /admin/appearance/component. Component instance rendering has been significantly improved: Broken component logic or invalid inputs can no longer break XB. Many bugfixes and lots of test coverage have been added to stabilize XB’s component source plugins.
Contributors (27)
larowlan, wim leers, f.mazeikis, longwave, lauriii, mglaman, penyaskito, laurii, phenaproxima, danielveza, johnwebdev, jessebaker, kristen pol, hooroomoo, tedbow, bnjmnm, isholgueras, mayur-sose, thoward216, catch, balintbrews, effulgentsia, omkar-pd, akhil babu, meghasharma, sandip, deviantintegral
Changelog
Issues: 37 issues resolved.
Changes since 0.2.1-alpha10:
Bug
- #3519168 by larowlan, wim leers, f.mazeikis, longwave, lauriii, mglaman, penyaskito, laurii, phenaproxima: Handle components provided by ComponentSources EXPLICITLY disappearing — enables deleting JS components that are in use
- #3508433 by johnwebdev, jessebaker, lauriii, kristen pol: The placement of the component preview is sometimes not next to the hovered component name in the library
- #3523978 by longwave, tedbow, wim leers, isholgueras: [11.1.7 regression] JavaScriptComponentValidationTest::testInvalidSlotIdentifiedByConfigSchema fails
- #3521444 by wim leers, longwave, isholgueras, mayur-sose, lauriii, bnjmnm: Required image field becomes non-functional after publishing with empty field
- #3523690 by balintbrews: Add test for publishing a new page for the first time causes layout to appear empty
- #3519734 by bnjmnm, omkar-pd, mayur-sose, jessebaker: Blur on the auto-complete field sends stale data to update the preview
- #3521034 by jessebaker, bnjmnm: Dragging a Code Component doesn't "fade" it out like SDCs
- #3517868 by larowlan, bnjmnm, wim leers: Add e2e tests for multi-value textfield widget in page data form
- #3508937 by tedbow, wim leers: Global AssetLibrary should render with its auto-saved state (if any) when rendered in the XB UI
- #3522977 by akhil babu, meghasharma, mayur-sose: XB UI shows the *saved* content entity's current title, not the auto-saved one
- #3523452 by penyaskito, wim leers: Random test failure in `JsComponent::testGetClientSideInfo`
- #3520052 by isholgueras, wim leers, lauriii, balintbrews, larowlan: Auto-saved changes to component are not loaded in preview canvas when component is inside a slot
- #3521819 by tedbow, hooroomoo: Hovered preview for JS components in library not working anymore
- #3516705 by thoward216, wim leers, tedbow, larowlan: Auto-saved changes to code components are not visible in preview-on-hover-component-list until published
- #3522569 by omkar-pd, deviantintegral: Overly strict typehinting breaks install if a machine_name_ function is defined
- #3507335 by hooroomoo, larowlan, wim leers, balintbrews: Redirect to available page within XB after deleting the current page
- #3522787: ComponentSourceHooks OOP hooks break installs when using config_install
- #3522673 by wim leers: Previews of SDCs with default image props broken
Feature
- #3520071 by hooroomoo, lauriii, wim leers, jessebaker, larowlan: Show human readable error messages when creating component fails
- #3519135 by balintbrews, hooroomoo, wim leers, lauriii: Evolve "Text area" prop type to "Formatted text" in code editor, make use of new prop shape with `contentMediaType: text/html`, ensure formatted text can render inside code components
- #3523007 by lauriii: Use page icon in navigation top bar for pages
Task
- #3518336 by phenaproxima, wim leers, longwave, danielveza, larowlan: When a field instance used by a `ContenTemplate` is deleted, or a field-type providing module is uninstalled, replace affected `inputs` with default `StaticPropSource`
- #3521128 by tedbow, wim leers, bnjmnm: Ensure XB works with CSS + JS aggregation, including for (auto-saved) code components
- #3518722 by thoward216, wim leers, longwave, tedbow, larowlan: Test coverage to prove that BlockPluginInterface cacheability is correct when rendered via XB
- #3523721 by lauriii, hooroomoo, penyaskito: Add "Edit code" context menu action for code components
- #3521202 by wim leers, larowlan, catch: Store XB field type's "deps_*" columns in separate table to allow efficient querying
- #3523765 by lauriii: Remove "About text formats" link in Experience Builder
- #3512854 by wim leers, larowlan, effulgentsia: Determine core bug(s) and missing metadata that explain unmatched field type properties; make the reported % reflect reality
- #3521137 by phenaproxima, wim leers, catch, larowlan: XB's storing JSON blobs should not be visible in exported config nor to test authors
- #3522734 by sandip, wim leers, meghasharma, larowlan: Rename `SdcPropToFieldTypePropMatcher` to `JsonSchemaFieldInstanceMatcher`, `SdcPropJsonSchemaType` to `JsonSchemaType`
- #3484395 by bnjmnm, wim leers, larowlan: CKEditor 5 not loading on formatted text Field Widgets in the component instance form
- #3516390 by balintbrews, jessebaker, effulgentsia, wim leers, larowlan: Compile Tailwind CSS globally for code components
- #3523065 by lauriii: Move extensions outside of the dev flag
- #3508725 by longwave, wim leers, penyaskito, larowlan: ComponentMetadataRequirementsChecker::check() should validate that the example(s) actually match the JSON schema
- #3457504 by wim leers: a 3-line change to make XB work again on MariaDB, PostgreSQL and even the absurdly picky MySQL
- #3483485 by jessebaker, hooroomoo: Selecting multiple components
- #3467870 by wim leers, tedbow, catch: Support `{type: array, …}` prop shapes