Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

No inline opened when cursor is at start of class or id attribute #732

Closed
peterflynn opened this issue Apr 24, 2012 · 2 comments
Closed

Comments

@peterflynn
Copy link
Member

  1. Open some HTML like this: <div class="foo">Test text</div> (assuming you have a ".foo" rule somewhere)
  2. Put the cursor at the start of "class"
  3. Open inline

Result: no inline opens

Expected: inline opens

It works if you put your cursor anywhere within "class" (including at the end of "class"). If also works if you put the cursor at the start of "foo" (inside or outside the quotes). For tag names, it also works if you put the cursor at the start of the tag name.

This repos in sprint-6 too, so it's not a regression.

@redmunds
Copy link
Contributor

redmunds commented May 2, 2012

Back to PeterF to verify.

@peterflynn
Copy link
Member Author

Looks good, closing.

p.s., it would be good to add a unit test for this case...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants