feat(admin): editable gallery Portable Text block (no TipTap editor node — import/render-only) #1771
khoinguyenpham04
announced in
Roadmap
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This Roadmap discussion mirrors #1436: feat(admin): editable gallery Portable Text block (no TipTap editor node — import/render-only).
Use this discussion to upvote the roadmap item and discuss priority, use cases, and product feedback. Keep implementation tracking, reproduction details, and PR-specific feedback on the source issue.
Original Issue
Summary
EmDash has a
galleryPortable Text block, but it's import/render-only — there's no TipTap editor node, so a migrated gallery can't be inserted, edited, or reordered in the admin.Current state
@emdash-cms/gutenberg-to-portable-textdefinesPortableTextGalleryBlock(_type: "gallery",images[],columns?).packages/core/src/components/Gallery.astrorenders it and is registered by default in thePortableTextcomponent (components/index.ts).packages/admin/src/components/editor/handlesgallery(unlikeimage→ImageNode.tsx/ImageDetailPanel.tsx). A gallery that arrives via import is invisible/uneditable in the editor.Request
A TipTap node + sidebar UI for the
galleryblock, mirroring the image handling:columnsWhy
WordPress migrations (WP Media Folder / Gutenberg galleries) bring
galleryblocks through cleanly, but authors then can't manage them post-import — they have to drop to the seed/JSON. Closing the loop (like the recent image-alignment editor work) would make galleries first-class.Notes
Related but distinct: #1369 / #1424 concern repeater/array field types with media. This is specifically the Portable Text
galleryblock in the rich-text editor.All reactions