| Summary: | Suppress CodeMirror warnings for CSS | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Lucas Gass (lukeg) <lucas> |
| Component: | Architecture, internals, and plumbing | Assignee: | Bugs List <koha-bugs> |
| Status: | NEW --- | QA Contact: | Testopia <testopia> |
| Severity: | normal | ||
| Priority: | P5 - low | CC: | lisette |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
Do we need to update to a newer version of codemirror? V6 appears to support this modern CSS |
In CodeMirror, a warning is shown if you use more modern CSS. For example: li:has(#checkprevcheckout) { display: none; } This is valid, but CodeMirror displays a warning. Same for nested CSS: .thing1 { .thing2 { display: none; } } Also valid, but it recreates warnings that would make you think otherwise.