Skip to content

Sections: allow saving a block as a section from the editor #2327

Description

@kwmr

Summary

Ghost lets you select a block in the editor and save it as a snippet, naming it
inline. In EmDash, sections can only be authored from the Sections admin page,
so there is no path from "I just built this block" to "reuse it later".

Current behaviour

Proposal

Add Save as section to the block menu (and/or for a multi-block selection),
prompting for a name and creating a Section from the selected Portable Text.

Why it matters

Reuse is most valuable for the blocks that took effort to build — embeds, cards,
callouts — and those are exactly the ones you have just finished adjusting in
the editor. Re-authoring them on a separate page is enough friction that the
feature tends to go unused.

Note

This cannot be implemented as a plugin: the manifest exposes
portableTextBlocks, fieldWidgets, adminPages and dashboardWidgets, but
no extension point for editor or block-level actions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions