Make WordPress Core

Opened 7 weeks ago

Closed 3 weeks ago

Last modified 2 weeks ago

#62927 closed defect (bug) (wontfix)

Customizer > Additional CSS page - CodeMirror linting not working

Reported by: guido07111975's profile Guido07111975 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Customize Keywords:
Focuses: Cc:

Description

The CodeMirror linting is not working in the Customizer > Additional CSS page.
It's also possible to save CSS that contains mistakes.
As mentioned in this thread.

Attachments (1)

Additional CSS.jpg (13.5 KB) - added by Guido07111975 7 weeks ago.

Download all attachments as: .zip

Change History (7)

#1 @vedantgandhi28
6 weeks ago

Hi, @Guido07111975 I am able to replicate the above issue and confirm it does occur even in the latest version. I would like to work on it.

This ticket was mentioned in PR #8481 on WordPress/wordpress-develop by Guido07111975.


3 weeks ago
#2

  • Keywords has-patch added

The CodeMirror linting is not working in the Customizer > Additional CSS page.
It's also possible to save CSS that contains mistakes.
lint was set on false.

Trac ticket:
https://core.trac.wordpress.org/ticket/62927

https://github.com/user-attachments/assets/63e56141-43c7-4e8c-8971-3c58ee4855c5

#3 follow-up: @ocean90
3 weeks ago

  • Keywords has-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed
  • Version 6.7.1 deleted

Hello there, the code linting is disabled intentionally, see #44471.

#4 in reply to: ↑ 3 ; follow-up: @Guido07111975
3 weeks ago

Replying to ocean90:

Hello there, the code linting is disabled intentionally, see #44471.

Thanks. That's an old ticket, hopefully CodeMirror is already updated to include this modern CSS?

#5 in reply to: ↑ 4 @Guido07111975
3 weeks ago

Replying to Guido07111975:

Thanks. That's an old ticket, hopefully CodeMirror is already updated to include this modern CSS?

Just heard it's because CSSLint is abandoned / not updated for many years.

Guido07111975 commented on PR #8481:


2 weeks ago
#6

It's intentionally disabled, check ticket.

Note: See TracTickets for help on using tickets.