Make WordPress Core

Opened 4 months ago

Last modified 4 months ago

#61811 new enhancement

Set editor rendering mode by post type

Reported by: tyb's profile TyB Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Editor Keywords: has-patch
Focuses: Cc:

Description

Sync ticket for https://github.com/WordPress/gutenberg/pull/62304

Allow extenders to set the default rendering mode for a specific post type. It seems logical to default the page post type to the template editor, and the post post type to the block editor. Editors should retain the ability to swap between them while in the editor, this setting should only apply to what the editor sees by default.

Extenders should have the ability to define the rendering mode for a post type on registration, and change the rendering mode of an existing post type through a filter.

Change History (1)

This ticket was mentioned in PR #7129 on WordPress/wordpress-develop by @TyB.


4 months ago
#1

  • Keywords has-patch added

# Trac ticket: https://core.trac.wordpress.org/ticket/61811

This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

Note: See TracTickets for help on using tickets.