Decoupling slug/post from the Editor content #11146
Labels
[Feature] Permalink
The permalink of a post or page and the experience of setting or editing it
Needs Design Feedback
Needs general design feedback.
[Type] Enhancement
A suggestion for improvement.
I was creating a new custom post type for dogs in WP 5 beta version. Each entry will have a title(name), featured image, a slug, some metadata fields, and a description. By default the editor interface had slug, title in place.
I was trying to do something similar to this without completely recreating the Editor experience (like adding Editor top bar and Editor settings).
The big problem was slug. When you create a new custom post type the
ediorProvider
adds title and the url slug editor into the Editor content and I found PostPermalink added in the PostTitle component. If the post type doesn't support titlePostTypeSupportCheck
completely hiMy poroposal is to move the PostPermalink to the Editor top bar or Editor settings so that even if developer decides to use the post title in a different way than expected the viewing/updating permalink experience for end user would be consistant.
Let me know what you guys think.
The text was updated successfully, but these errors were encountered: