ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

Latest postcss-nesting introduces is pseudo selector which aren't supported by old Chrome browsers

Open iliapir2 opened this issue 4 years ago • 3 comments

📝 Reproduction steps

  1. Install latest release of CKEditor
  2. Open the sample page in Chrome 85
  3. The editor toolbar layout is broken

✔️ Expected result

The editor toolbar should be as before

❌ Actual result

The editor toolbar layout is broken

❓ Possible solution

I found that when you pass noIsPseudoSelector: true to postcss-nesting plugin, it works as expected. Source to patch:

https://github.com/ckeditor/ckeditor5-dev/blob/master/packages/ckeditor5-dev-utils/lib/styles/getpostcssconfig.js Line: 26 Should be updated to:

	require('postcss-nesting')({
				noIsPseudoSelector: true
			}),

If you want I can provide you with PR to fix this issue.

📃 Other details

  • Browser: Chrome 85
  • OS: MacOs
  • First affected CKEditor version: 34

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

iliapir2 avatar May 06 '22 14:05 iliapir2

We've met the same problem... Chrome v83. I'd like to have more complex options to customize interoperability for js/css

BruTyler avatar May 17 '22 08:05 BruTyler

Additional problem with pseudo selector :not() - which is also available in Chrome 88+

BruTyler avatar May 18 '22 05:05 BruTyler

Closed in ckeditor/ckeditor5-dev#768.

oleq avatar May 23 '22 09:05 oleq