[wp-trac] [WordPress Trac] #44471: Theme Editor: Modern CSS is marked as errors by CodeMirror

WordPress Trac noreply at wordpress.org
Thu Jun 28 06:53:02 UTC 2018


#44471: Theme Editor: Modern CSS is marked as errors by CodeMirror
--------------------------+------------------------------
 Reporter:  ThemeZee      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  4.9
 Severity:  normal        |  Resolution:
 Keywords:  2nd-opinion   |     Focuses:
--------------------------+------------------------------

Comment (by ThemeZee):

 Yes, it is hard to explain to end users that the theme is working fine
 although WordPress Core shows a bunch of error notices. The majority of
 users thinks these are major theme issues, because updating the style.css
 is basically deactivated unless the extra checkbox is clicked.

 Disabling the CSS property validation would be great, although I'm not
 sure if it works everywhere. The CSS variables cause an "Expected RBRACE"
 error. This could perhaps be a syntax validation issue, because CodeMirror
 doesn't know how to handle the two hyphens at the beginning.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44471#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list