In Panopoly 1.x, we could create widgets in the IPE that were either reusable or not.

In Drupal 8's Layout Builder, the blocks created in the Block UI are reusable, and those created in Layout Builder are not reusable. We need to have a way to optionally create reusable blocks in Layout Builder as well.

Comments

dsnopek created an issue. See original summary.

dsnopek’s picture

dsnopek’s picture

I put a patch up on #2999491-19: Add reusable option to inline block creation that gets pretty close to giving us the same functionality we have for this in D7. But I don't know if it'll get accepted into core...

Per some comments I just put on #2549709-18: [meta] Panopoly 2.x for Drupal 8 battle plan, I'm thinking it might make sense to resurrect panopoly_magic to be an incubator for this type of functionality that may get accepted into core, but also might not.

I think I might do a contrib implementation in a sandbox, just to prove that it's possible to do without patching core -- I think it is, but having not actually tried it, I can't know for sure.

dsnopek’s picture

Here's an implementation of the some functionality as the core patch but in a sandbox module with form alters:

https://git.drupalcode.org/sandbox/dsnopek-3059373/blob/8.x-2.x/src/Alte...

dsnopek’s picture

  • dsnopek committed 7692283 on 8.x-2.x
    Issue #3056141: Allow creating reusable widgets in Layout Builder
    

  • dsnopek committed f4913bc on 8.x-2.x
    Issue #3056141: Allow creating reusable widgets in Layout Builder (...
dsnopek’s picture

Status: Active » Fixed

Merged this into panopoly_magic to incubate!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.