Install

Works with Drupal: ^11.3

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 412.87 KB
MD5: b9bda9bec5b3d7922c8b8932e5d6c351
SHA-1: 266e52e38e9b9760950586a63caa3336bf6e51d4
SHA-256: f96cc9a3d2d5e3df924c25f621014db1e3c0a0631c2b513ce3785236d47da047
Download zip 684.52 KB
MD5: 2cdece52e9a2ba20c4cf348278d61840
SHA-1: 3e3abdfb612c1168d928e234b66c1a0ffd12fd5b
SHA-256: f00222946813f85ee6f0f02b2aa0c13e3fba9f23fb8fb6f6c265f1e2836e5758

Release notes

The second beta. Paragraphs open in a form of their own, which is several times faster on long pages; a new Clipboard module copies paragraphs between pages; pages can be published from the dock, and the outline works with several paragraphs at once. Many fixes make quick successive changes, translations with drafts and the panel more reliable.

Before you update

  • Help was removed. The Help module (paragraphs_frontend_editor_help) is no longer part of the project. If it is enabled, the database update uninstalls it; for that, an empty, obsolete stub of it stays, which cannot be installed and is hidden from the module list. Uninstalling it before updating works as well:
    drush pm:uninstall paragraphs_frontend_editor_help

    Paragraph type descriptions remain in the Add menu, and form fields keep their descriptions.

  • Sites that deploy their configuration remove paragraphs_frontend_editor_help from core.extension.yml in the same deploy. Otherwise drush config:import tries to install it again and fails with "module 'paragraphs_frontend_editor_help' is obsolete".
  • Run the database updates and rebuild the caches after updating (drush updb, drush cr), so that no cached page keeps the markup of beta1, see "For developers" below. Reset the opcode cache with the deploy, as the constructors of some services changed.

New

  • A form of its own for each paragraph. The edit links and add buttons open a form with the paragraph only, instead of the edit form of the whole page. On a test page with 42 paragraphs, the edit form opened in about 1 s instead of 4 s, and the add form in 0.6 s instead of 4.1 s. Saving goes through the same checks as the other changes on the page: version check, lock, validation, moderation, a new revision and undo. Open the full form in the panel opens the edit form of the page at the paragraph. New sites have it switched on. Sites updating from beta1 keep the edit form of the page until they switch on Edit and add paragraphs in a form of their own under Configuration › Content authoring › Paragraphs Frontend Editor.
  • Clipboard, a new module: copy a saved paragraph and paste an independent copy on another page or field, with Paragraphs Clipboard. It needs drupal/paragraphs_clipboard:^1.0.5; installing it with an older version is refused, and the status report shows an error for one. With the form of its own switched on, pasting opens the small form too.
  • Publish and unpublish from the dock with Page Status, following the moderation workflow and its transitions.
  • Several paragraphs at once in the outline: select paragraphs to move or duplicate them together, as far as the user may.

Improved

  • After a change, fields that did not change keep their markup and state, also fields of paragraphs in paragraphs, and missing scripts are loaded instead of loading the page again.
  • Page changes validate the changed fields, the rules of the content and the moderation workflow, instead of every field of the page.
  • The definitions of paragraph types and options are sent once per page instead of once per field or paragraph: on the test page, the editor attributes went from 127 KB to 61 KB. Visitors get nothing more than before.
  • Copying to the clipboard no longer blocks other changes of the page, and checking whether something can be pasted is cheaper.

Fixed

  • Forms on the page (paragraph, options, remove) no longer publish the draft of another language, nor fail with "changed in the meantime" while another language has a draft. The change goes into a new revision of the opened language, as with the edit form of the page. This also holds when the language of the form was last changed in the published version and another language has a newer draft, or a translation was added as a draft. Nor do they publish the paragraph texts of a draft of another language, which Core opens the form with when the language of the form was last changed in an earlier published version, as with translations of paragraph types that are no longer translatable.
  • Translated content offers no changes on the page while the latest version does not contain the latest draft of the page language, for example after another language was published beside an older draft. Changes there replaced that draft or, in another language of a draft, published it.
  • The notice about a newer draft leads to the latest version of the language that has the draft, instead of a page denied to the editor.
  • After undoing a change in paragraphs in a translatable paragraph field, the content can be saved again: Undo gives the paragraphs it restores new revisions. Before, saving failed with "An existing default revision of the 'paragraph' entity type can not be changed to a non-default revision".
  • Changes of a draft of moderated content whose type does not create new revisions no longer change the published version: the changed paragraphs were saved into the revisions the published version refers to.
  • A copy pasted in the form of its own gets the language of the content it is pasted into, like with the edit form of the page, instead of keeping the language of its source.
  • The forms on the page work in the language of the page, also on sites that take the language of the content from the language of their administration pages. Before, they could show and change the original language instead, or remove from its paragraph list.
  • Changes on the front page, or on another page that shows the content under another path than its own URL, no longer load the whole page and lose the message with Undo.
  • A change answered with a login page, after the session ended on a site that redirects to it, is no longer shown as saved.
  • Translations a paragraph gets when it is hidden or its options change in another language name the language they were created from, like with the edit form of the page.
  • After a transition of the workflow from the dock, the message no longer offers an undo that would keep the state.
  • Pasting no longer fails next to a draft of another language or after a change with a revision log message, and shows a message instead of an error when the field became full.
  • Two quick changes in a row no longer load the whole page and lose the message with Undo.
  • Undo applies to its own change only; a later change is no longer reverted with it.
  • A cancelled page load, or a stalled request for the session token, no longer leaves the editor waiting.
  • The options popover keeps its input when the page refreshes after a change elsewhere; the publish switch stays busy while it saves; Escape in the outline selection keeps the focus in the outline.
  • Hide instead in the remove confirmation works with the new checks.
  • The message with Undo no longer disappears after a few seconds: it stays until it is used, dismissed or replaced, and Alt+Shift+Z moves the focus to its button, so keyboard and screen reader users can reach it.
  • The focus no longer falls back to the start of the page after closing a form opened from the Add menu or the paste entry, after the publish switch saves, or after Copy to clipboard.
  • Escape in the form of the panel closes it, like its close button, unless a widget in the form used it.
  • After a save that fails validation, the focus goes to the first invalid field of the panel, or to the message, and the message is announced.
  • Buttons and the edit mode switch have enough contrast with Gin's teal, orange and yellow accents, and so do the numbers in the outline.

For developers

  • The raw formats of data-pfe-add-types and data-pfe-options-options changed: the definitions are in drupalSettings.paragraphsFrontendEditor. Read the attributes with Drupal.paragraphsFrontendEditor.json(), which returns the former shape and still reads the former inline format; code that used JSON.parse() on them has to be adapted.
  • Drupal.paragraphsFrontendEditor.formLink() takes the URL of the full form as full, and actions can give it with fullHref().
  • Drupal.paragraphsFrontendEditor.post() takes the option exact, which sends the version unchanged, so that the change is refused if the content changed since.
  • The answers of the routes and of the panel name the internal path of the page as path; Drupal.paragraphsFrontendEditor.showsPath() checks whether the page shows it, as the front page does under another URL.
  • HostChanges::run() with a form language changes a new revision of the revision Core opened for that language when that is a draft of translated content. Forms that use it take their token from HostChanges::formVersion().

Requirements

Drupal 11.3 or later, Paragraphs and Entity Reference Revisions. The Clipboard module needs Paragraphs Clipboard 1.0.5 or later.

Install or update with:

composer require 'drupal/paragraphs_frontend_editor:^1.0@beta'

Interface translations come from localize.drupal.org.

Created by: pdu
Created on: 11 Nov 2026 at 21:33 UTC
Last updated: 11 Nov 2026 at 21:33 UTC
Bug fixes
New features

Other releases