wp-dynamic-css icon indicating copy to clipboard operation
wp-dynamic-css copied to clipboard

Ordering of style blocks

Open SpoddyCoder opened this issue 8 years ago • 1 comments

Hi,

Couldn't see any way of ordering the style blocks. Would be a useful addition as styles can come from both plugins & themes. And if they both use this lib then getting them to play nicely can be awkward - order of styles being important.

Is their a mechanism for this that I've missed? If not, I may consider submitting a PR if you take them?

Finally - great lib - really simple, effective & works just how you'd want - thanks for sharing it 👍

SpoddyCoder avatar Aug 20 '17 20:08 SpoddyCoder

Thanks! I'm glad you find this library useful. You're right - currently there is no way to set the order of style blocks. And I can definitely see a use case for that. If you have some free time, feel free to submit a PR. I always welcome contribution.

ykadosh avatar Aug 20 '17 21:08 ykadosh