Single field editing

Created on 6 June 2024, 8 months ago
Updated 5 September 2024, 5 months ago

Problem/Motivation

We should be able to use Gutenberg not only on the body field for a full node takeover, but for single fields within other fields on an entity.

This is a part of the Drupal Gutenberg 4.0 initiative. See 🌱 Gutenberg 4 Active for more details.

Proposed resolution

Create a new experimental module with a new editor plugin. We could use the existing editor plugin but, for now to avoid issues, let's create a new one and, eventually merge when the new module is stable.

Remaining tasks

Testing

This issue's branch can be tested using DrupalPod.
After initializing the environment, enable Gutenberg Editor (for text formats) experimental module.
Then add a new text format. at admin/config/content/formats. Choose Gutenberg Editor as Text editor and enable the Gutenberg filter.
Then on any text field you can use Gutenberg editor.

User interface changes

Here's some screenshots of the work done so far.



Feature request
Status

Needs work

Version

4.0

Component

Code

Created by

🇳🇴Norway thorandre

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @thorandre
  • Merge request !177New editor → (Open) created by marcofernandes
  • Pipeline finished with Canceled
    6 months ago
    Total: 76s
    #244588
  • Pipeline finished with Success
    6 months ago
    #244591
  • Pipeline finished with Running
    5 months ago
    #246739
  • Pipeline finished with Canceled
    5 months ago
    Total: 206s
    #246736
  • Pipeline finished with Success
    5 months ago
    Total: 854s
    #254149
  • Pipeline finished with Success
    5 months ago
    Total: 461s
    #258224
  • Pipeline finished with Success
    5 months ago
    Total: 403s
    #258244
  • 🇳🇴Norway thorandre

    Here comes a bit of a status for this work:

    We've now got a working editor for a text field as part of the standard node edit form.

    There you can use all kinds of Gutenberg blocks within that editor and define settings and so on for each of them.

    What remains:

    • Style injections: Injecting styling from the frontend theme.
    • Configuration of the text format: The UI for defining which blocks to be available, image styles and so on.

    This is probably a couple workdays with testing, coming in the mid September release.

  • Pipeline finished with Success
    4 months ago
    Total: 2020s
    #291352
  • Pipeline finished with Success
    3 months ago
    Total: 506s
    #307715
  • Pipeline finished with Success
    3 months ago
    Total: 538s
    #321435
  • Pipeline finished with Success
    3 months ago
    Total: 560s
    #327771
  • Pipeline finished with Success
    2 months ago
    Total: 170s
    #342236
  • Pipeline finished with Success
    2 months ago
    Total: 155s
    #342369
  • Pipeline finished with Success
    about 1 month ago
    Total: 192s
    #372208
Production build 0.71.5 2024