Twenty Thirteen: Add Editor Styles for Post Formats
|Reported by:||celloexpressions||Owned by:||lancewillett|
Since the post formats UI is adding/changing the current post format to the tinyMCE iframe body class, we might as well include the post format styling in the editor. This has several advantages, including additional visual distinction between post formats for Twenty Thirteen users. It also makes it clearer what sort of content is expected in the editor, because you can compare directly to where it appears on the site. For example, the editor expects the quote itself, with or without blockquote tags. By making the editor display just like the output, it becomes obvious that the quote itself is expected here, and that quotation marks are provided.
The average first-time user won’t necessarily know that the different post formats are treated with an array of bold colors in Twenty Thirteen; they may not try publishing or previewing the different post formats, but instead just play with the PF admin UI. By reflecting the theme styling in the editor, they immediately know that the different formats feature different colors (and other minor layout changes), and are therefore more likely to start publishing with the different formats right away.
And, of course, by doing this we’re showing the thousands of default-theme-dissectors how easy it is to do separate styling per-format and encouraging them to as well. For me, it really completes the post formats UI. After all, the point of editor-style.css is to make editing a visually similar experience to the end result.
Change History (51)
4 years ago
- Keywords needs-testing removed
- Type changed from defect (bug) to enhancement
- Keywords has-patch added; close removed
- Resolution fixed deleted
- Status changed from closed to reopened
3 years ago
- Owner set to lancewillett
- Resolution set to fixed
- Status changed from reopened to closed