atom-latex-plus icon indicating copy to clipboard operation
atom-latex-plus copied to clipboard

Deprecated selector in `latex-plus/styles/styles.atom-text-editor.less`

Open estherlin opened this issue 8 years ago • 2 comments

In latex-plus/styles/styles.atom-text-editor.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

  • :host(:host) .gutter .line-number.gutter-green => atom-text-editor .gutter .line-number.gutter-green

  • :host(:host) .gutter .line-number.gutter-blue => atom-text-editor .gutter .line-number.gutter-blue

  • :host(:host) .gutter .line-number.gutter-red => atom-text-editor .gutter .line-number.gutter-red

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

estherlin avatar Dec 25 '16 05:12 estherlin

@estherlin Thank you for submitting this information.

andrewrynhard avatar Dec 25 '16 07:12 andrewrynhard

Is there a plan to merge louy2's pull request for the atom editor fixes?

fpetersonGL avatar Jun 23 '17 14:06 fpetersonGL