[wp-trac] [WordPress Trac] #42644: Customize: Add rich text control
WordPress Trac
noreply at wordpress.org
Mon Nov 20 19:47:52 UTC 2017
#42644: Customize: Add rich text control
-----------------------------+-------------------------
Reporter: westonruter | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 5.0
Component: Customize | Version: 4.8
Severity: normal | Keywords: needs-patch
Focuses: |
-----------------------------+-------------------------
In #35243 we extended the Text widget to add TinyMCE. This depended on
#35760 which introduced the `wp.editor.initialize()` API for dynamically-
instantiating TinyMCE editors. Similarly in #41897 we introduced a Code
Editor control which leveraged the `wp.codeEditor.initialize()` API
introduced in #12423. It would seem that there should similarly be a rich
text control available in the Customizer.
This rich text control could be leveraged by themes to manage a site's
footer area. Instead of “Powered by WordPress” being hard-coded into the
theme's footer, it could instead be the default value for a
`footer_site_info` option. This would then allow a user to easily add
additional site credits and copyright information to the footer of their
site, without having to modify the theme template to do so. WordPress.com
has a dropdown control with preset options for this “powered by” text and
then a final option to hide for business plans. There could also be a
“custom” option which could then reveal a footer credit rich text input
where a user could supply links and other content allowed by the Text
widget. Naturally the bundled core themes in WordPress.org could make this
available by default without requiring a business plan.
Editor should only initialize once the control's containing section is
expanded, as was done with the Code Editor control.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42644>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list