[wp-trac] [WordPress Trac] #35395: Provide a better gateway for code-based theme customizations with the Customizer
WordPress Trac
noreply at wordpress.org
Sat Sep 17 05:04:36 UTC 2016
#35395: Provide a better gateway for code-based theme customizations with the
Customizer
-------------------------------------------------+-------------------------
Reporter: celloexpressions | Owner: johnregan3
Type: feature request | Status: assigned
Priority: normal | Milestone: 4.7
Component: Customize | Version:
Severity: normal | Resolution:
Keywords: has-screenshots needs-patch dev- | Focuses:
feedback |
-------------------------------------------------+-------------------------
Comment (by celloexpressions):
There are numerous popular CSS plugins, many of which leverage the
customizer: https://wordpress.org/plugins/search.php?q=css. At a glance
many (most?) don't sanitize CSS. I should note here that probably the most
popular is @johnregan3's, which has over 300,000 active installs (and his
work to add customizer support transitioned into working on this for
core).
The combined popularity of these plugins is a strong argument for a core
need for this functionality, especially when considering that it is an
improvement over and extension of the existing code editors in core. If we
can move forward with bundling the two libraries we need (CSSTidy and
CodeMirror), the core solution will offer a better combination of security
and user experience than any plugin currently does (some use the
customizer with instant postMessage previewing, some have code editors,
some save CSS as posts, some sanitize, but I don't think any do all of
those things).
Looks like Tailor also uses CodeMirror; seems like that's a good option
here.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35395#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list