Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple selectors in CSS, Emmet breaks #19

Open
mark-tripney opened this issue Oct 23, 2020 · 2 comments
Open

Multiple selectors in CSS, Emmet breaks #19

mark-tripney opened this issue Oct 23, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@mark-tripney
Copy link

Describe the bug
Entering a CSS rule with multiple selectors, separated by commas, is not possible without pressing Escape after every selector, and dismissing Emmet's suggestion. Not doing so deletes the selector.

To Reproduce
Steps to reproduce the behavior:

  1. Create a simple HTML file with one heading and one paragraph.
  2. Link to CSS.
  3. In CSS file, type h1, and hit Enter (in order to move to the next line, and begin typing the next selector).
  4. h1, is deleted, and the cursor returns to the start of the line.

In this situation, this action occurs with all attempts at multi-selector rules.

Expected behavior
Sequence of h1, > Enter > p { creates the following:

h1,
p {}

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • Nova version: 2 (Build 213794)
  • Emmet extension version: 1.2.3

Additional context
Contrast with, for example, VS Code, which behaves as indicated in the 'Expected Behaviour' section, above.

@mark-tripney mark-tripney added the bug Something isn't working label Oct 23, 2020
@mark-tripney mark-tripney changed the title Autocomplete in CSS is broken Multiple selectors in CSS, Emmet breaks Oct 23, 2020
@mark-tripney
Copy link
Author

Looks like a problem with Nova, rather than the Emmet extension.

@mark-tripney mark-tripney reopened this Oct 28, 2020
@mark-tripney
Copy link
Author

Sincere apologies — I've been looking into this again, and I think it is an Emmet issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant