# Apostrophe 4.27.0: Floating Widget Editor and Styles Editor Now Stable #5330
BoDonkey
announced in
Release Notes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Apostrophe Community!
Apostrophe 4.27.0 introduces a redesigned widget editing experience with a flexible interface, graduates the Styles Editor from beta to stable, and adds support for right-to-left languages.
Watch the release feature video
Floating Widget Editor: Edit Without Obstruction
The widget editor has been redesigned to allow content managers to move, resize, and position it anywhere on the screen. This addresses two longstanding challenges in content editing: the widget editor modal blocking your view of the content you're editing and developer intervention being required just to resize it.
The new windowed editor can be:
This improvement affects all widget types, making it easier to see how your changes affect the page layout in real time. The flexible positioning is particularly valuable when working with widget styles, where seeing the visual result while adjusting design options helps editors make better choices faster. Note: When working on a widget that's nested, the original sidebar view will open to avoid multiple floating windows.
Styles Editor: Now Stable
Our new Styles Editor, introduced in beta last month, is now production-ready. This feature provides visual style editing for both site-wide design tokens and per-widget style variations, moving capabilities previously available only in the Pro Palette extension into open-source core.
If you tested the Styles Editor during the beta period, thank you for your feedback. The module is now stable and ready for production use. For teams currently using Palette, migration to Styles remains straightforward via the provided
migrate-to-stylestask.See Styles in Action
Want to see the feature in a real implementation? Our new public demo at demo.apostrophecms.com showcases both global and per-widget styles in a production-ready configuration. As we streamline our starter kit offerings, the public demo project represents our current recommendation for getting started with ApostropheCMS. The demo It features a comprehensive implementation of styling patterns you can adapt for your own sites.
You can explore the demo online or fork the code on GitHub to examine how global design tokens and widget style variations work together in practice:
Right-to-Left Language Support
Projects serving content in right-to-left languages like Arabic and Hebrew can now configure text direction at the locale level. The new
directionproperty in locale configuration controls content directionality, while theslugDirectionoption manages URL slug formatting.Individual schema fields can override the locale-level direction setting when needed, allowing for precise control in multilingual projects. Note that while content editing supports RTL text, the admin UI layout itself remains left-to-right.
AI Helper Updates
AI Helper, an experimental extension that provides AI-powered image generation and text content creation, has been refactored to use a provider-based architecture. This experimental module now supports multiple AI providers including OpenAI, Anthropic, and Google Gemini, with a clear path for developers to add custom providers.
The extension remains in beta as we refine AI integration patterns that will eventually inform core ApostropheCMS features. Teams using AI Helper should expect ongoing refinement to the provider system. We welcome feedback on this approach as we explore AI capabilities within the platform.
Improved Internationalization
The new
intlMappingoption in locale configuration allows projects to map custom locale codes to standard ones for JavaScript'sIntlAPI. This is particularly useful when your locale naming doesn't align with standardIntl.DateTimeFormatlocales — for example, mapping your custom code toen-GBfor British English formatting.CLI Support for Hybrid Projects
The Apostrophe CLI now properly detects and handles hybrid ApostropheCMS + Astro projects with a
backend/directory structure. Thecreatecommand will set up these projects correctly, though theaddcommand is not yet supported in hybrid contexts.Additionally, the CLI now validates project
shortNamevalues to prevent potential security issues, restricting names to letters, numbers, hyphens, and underscores.Additional Improvements
This release includes several refinements:
breakpointsoption (nowlabelBreakpoints) and added ashowBreakpointsHelpoption to control help text visibilityThese improvements are ready for you to explore! Update your projects with
npm updateand let us know what you think on our roadmap.🚀 Happy coding!
Apostrophe 4.27.0
Adds
intlMappingoption to locale configuration to map custom locale codes to standard ones forIntlusage. This property is available inapos.i18n.localesfor project-level code.@apostrophecms/i18nadddirectionproperty to locale configuration to support RTL languages (e.g.,he,ar),slugDirectionoption to control default direction of slug fields. Adddirectionproperty in the schema field definitions to override and validate text direction (supportsltrandrtl) of input fields. Note that the admin UI layout and labels overall are still LTR only for now, but these changes accommodate editing RTL locale content within that. For best results the feature should be combined withadminLocalesanddefaultAdminLocalemodule options, e.g. the admin UI itself should remain in English or another LTR language for now.breakpointsoption tolabelBreakpointsfor clarity. The old option is deprecated but still supported for BC reasons. Add newshowBreakpointsHelpoption (defaulttrue). If set tofalse, the "Show tablet/mobile" fields help text will be removed from the UI.labelInterpolationandhelpInterpolationschema properties.Changes
Fixes
Pro Modules
@apostrophecms-pro/document-versions2.7.0This module automatically creates versions for your published documents (pages and pieces) and allows manual restore to any previously saved document version. Explore our documentation to discover how this extension can enhance your project. Then, effortlessly integrate it through our new Apostrophe Workspaces. For further details or inquiries, feel free to contact us or visit our pricing page.
Adds
intlMappingproperty in@apostrophecms/i18nlocale configuration. This allows setting theIntl.DateTimeFormatlocale (e.g.,en-GB) directly in the locale configuration, taking precedence over the module-levellocaleMapping.localeMappingoption in favor of the standardintlMappingproperty in@apostrophecms/i18nconfiguration. A warning will be logged iflocaleMappingis used.Fixes
@apostrophecms-pro/multisite-dashboard1.6.0This extension creates the new default multisite dashboard with infinite scroll, search functionality, and the ability to save templates. This extension requires that the project also have the
@apostrophecms-pro/multisiteextension installed and configured. Explore our documentation to discover how this extension can enhance your project. For further details or inquiries, feel free to contact us or visit our pricing page.Adds
intlMappinglocale property, allowing a different locale code for date and number formatting.sitepiece.Free modules
@apostrophecms/ai-helper1.0.0-beta.11This module enhances Apostrophe with AI-driven helpers. Currently this module offers:
See the extension page for more info.
Adds
@apostrophecms/apostrophe-astro1.9.0This module integrates ApostropheCMS into your Astro application.
Adds
@apostrophecms/form1.5.3Allow ApostropheCMS editors to build their own forms. They can then place any form in one or more content areas across the website.
Adds
acceptattribute to the form-file-field-widget to limit user file choices based on the@apostrophecms/attachmentmodule fileGroupsFixes
Utilities
@apostrophecms/cli3.6.0The Apostrophe CLI is a cross-platform starting point for creating and configuring ApostropheCMS projects, providing a simple boilerplate generator and wrapping other useful functions into an easy to use command line tool.
Adds
createcommand. Projects with abackend/directory are automatically detected and handled appropriately.astro-public-demo.shortNameargument in the create command to only allow letters, numbers, hyphens, and underscores, preventing potential command injection.Fixes
addcommand now displays an error when run inside a hybrid Astro project, as it is not currently supported in that context.Changes
public-demosanitize-html2.17.1This module provides a simple HTML sanitizer with a clear API.
Changes
<hello) returning empty string inescapeandrecursiveEscapemodes. Fixes #706. Thanks to Byeong Hyeon for the fix.Beta Was this translation helpful? Give feedback.
All reactions