Codeinwp / Codeinwp/templates-patterns-collection

Add support for templates save for FSE Editor.

Open
#248 19 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

new feature
Dominant language
JavaScript
Stars
56
Forks
10
Avg merge
2d 2h
Merged PRs (30d)
6

Description

What problem does this address?

Currently, there is no support to save FSE templates from within the site-editor as the save feature relies on the postType being defined. Hence the template save is disabled as a result of #246

What is your proposed solution?

We would need to improve support for the FSE editor and save FSE template data under a global option instead of the post meta, just for the FSE templates.
Also, we would need to check the import workflow and use another type site-editor instead of gutenberg to differentiate FSE templates from regular templates.


Figma

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Trace the site-editor save path and the import workflow, focusing on how postType and the gutenberg type are currently handled. Completion means saving FSE templates in a global option and distinguishing them with site-editor during import; the issue names no files or tests, so repository exploration is required.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, wordpress
Domain
backend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.