Apostrophe 3.60.0 Rich-text-widget enhancement, import improvement, notifications update, and fixes #4355
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
-
Howdy from Apostrophe Central!
You may be thinking, "Wow! I haven't heard from them in awhile. Maybe their messages went to spam." Fear not! We've simply switched to a brand-new release schedule. Now, we're rolling out updates every four weeks, giving us extra time to rigorously test our features and achieve more stability in our release schedule, ensuring only the best for you. So, less frequent, but more fantastic, updates are on the way!
The rich-text editor has gotten some love this cycle with an shiny new button for the insert menu. Previously, you could add a horizontal line (
<hr/>
) element by highlighting and clicking a button on the toolbar. Well, things just got simpler! Just configure your widget insert array to includehorizontalRule
, and voilà! Type a slash (/
), pick it from the menu, and watch the magic happen. And that's not all – we've also spruced up the UX of the existing menu items. It's like giving your text editor a day at the spa – rejuvenating and refreshing!The
@apostrophecms/import-export
extension just leveled up in intelligence. Now, if you import content from a different locale than your current one, the module offers a handy prompt. It asks whether you'd like to rewrite the content's locale to be the same as your current one. Think of it as a smart assistant, ensuring your content feels right at home in its new locale!In addition to adding a new helper class,
apos-notification--hidden
, you can also now add custom classes to notifications from the@apostrophecms/notification
module. For all the details on unleashing this new feature, dive into our freshly updated notification module reference documentation page. It's all about giving your notifications that extra flair!In this cycle, we've also enhanced the core with updates and fixes, especially for developers exploring alternatives to the Nunjucks templating currently used in Apostrophe. These improvements are part of our commitment to refining our backend services, setting the stage for something exciting: the upcoming release of an official Astro-integration extension. Stay tuned for this game-changing addition!
Remember
npm update
gets you the latest and greatest right in your project.Apostrophe 3.60.0
Adds
apos-notification--hidden
class will hide the notification, which can be useful when we only care about the event carried by it.insert: [ 'horizontalRule' ]
. Improve also the UX to focus back the editor after inserting a horizontal rule or a table.Fixes
render-widget
route now provides anoptions
property on the widget, so that schema-level options of the widget are available to the external front end when rendering a newly added or edited widget in the editor. Note that when rendering a full page, this information is already available on the parent area:area.options.widgets[widget.type]
lastPublishedAt
property, correcting several bugs relating to the page tree.lastPublishedAt
wherever it is missing for existing pages.if
andrequiredIf
fields inside array.beforeSend
event for pages and the loading of deferred widgets are now handled inrenderPage
with the proper timing so that areas can be annotated successfully for "external front" use.home
property etc. Note that the responsibility to avoid passing any nonserializable or excessively large data inreq.data
falls on the developer when choosing to use theapos-external-front
feature.$t()
to allow translationApostrophe 3.x modules
@apostrophecms/import-export
1.1.0This A3 module enables import and export of pages and pieces, with or without related documents such as files, images and other related types.
Adds
Changes
@apostrophecms/rich-text-example-extensions
1.0.0This extension accompanies the tutorials on creating
@apostrophecms/rich-text-widget
extensions. It includes three extensions, including extensions to alter content, add emojis, and provide statistics about the editor content. They can be used in a project, or used as templates for creating your own extensions.Adds
Utilities
@apostrophecms/eslint-config-apostrophe
4.1.0An ESLint configuration for ApostropheCMS core and officials modules.
Adds
Beta Was this translation helpful? Give feedback.
All reactions