NV / chrome-devtools-autosave

Auto-saving CSS and JavaScript changes from the Chrome Developer Tools
MIT License
1.05k stars 90 forks source link

"New Style Rule" does not save #66

Closed simon-lang closed 8 years ago

simon-lang commented 11 years ago

Sorry if duplicate, or non-issue. Couldn't find any reference to this.

Say I have no rules for a selector, I click the "plus" icon in the inspector, type the selector, insert rules. These do not get saved to the stylesheet the same way adding/editing properties of existing rules do.

I can work around the issue by editing the stylesheet in the Resources tab.

Awesome awesome software, thanks!

NV commented 11 years ago

It should add new rules to the bottom of last included stylesheet. Does it work for you?

covenantd commented 11 years ago

Doesn't seem to save new styles for me either, but I think that may be because the last stylesheet is an external one. Would be really nifty to be able to specify which stylesheet to save to, but guessing that would require some significant integration with the developer tools. Definitely would be a plus for the responsive site designs I'm working with though.

(P.S. Absolutely amazing extension by the way. Can't wait to use it more!)

simon-lang commented 11 years ago

Hi NV. Just re-tested and definitely does not get added to the last included stylesheet. I only have one, anyway.

If it helps, here is my html: http://jsfiddle.net/82KRj/2/

In this case I am unable to add a new rule for say .heading

pyratin commented 11 years ago

absolutely loving 'chrome-devtools-autosave', adding new style rules, will totally change the way i work, come to think of it, it has already :D :D

datadogdk commented 11 years ago

Have the same issue with new css rules. New rules are only being saved on localhost websites not on external ones.

Thanks for a genius extension otherwise;)