[wp-trac] [WordPress Trac] #39892: Default value in Additional CSS
WordPress Trac
noreply at wordpress.org
Fri Feb 17 13:03:05 UTC 2017
#39892: Default value in Additional CSS
-------------------------+------------------
Reporter: denisco | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.8
Component: Customize | Version:
Severity: normal | Resolution:
Keywords: | Focuses: ui
-------------------------+------------------
Comment (by Kelderic):
Replying to [comment:5 SergeyBiryukov]:
> That's what I'd like to do here. The text is essentially a placeholder
and should be treated as such, I don't see why it should be a default
value. There's no need to select it, and the `/* */` symbols just create
unnecessary confusion.
>
> As noted above, not everyone is familiar enough with CSS to know all the
syntax details, most users just paste snippets in there that they find on
the forums.
The only reason I can see for having the text as a CSS comment in the
field would be for user education (providing an example for users of CSS
comments). However, CSS doesn't really need inline comments unless one has
a very complex stylesheet, which isn't typical for the Customizer.
Since most users won't know what it means, and don't NEED to know what it
means, it just adds unnecessary confusion to the user, as mentioned above.
I agree that we should turn it into `placeholder` text, and remove the `/*
*/`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39892#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list