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

Add multiple classes to multiple elements aka wsMacro #39

Closed
re-co opened this issue Jul 14, 2021 · 1 comment
Closed

Add multiple classes to multiple elements aka wsMacro #39

re-co opened this issue Jul 14, 2021 · 1 comment
Assignees
Labels
commander feature request Ideas have to improve workflow workflow-2x
Projects

Comments

@re-co
Copy link
Owner

re-co commented Jul 14, 2021

What is wsMacro?
This is extension for command-line which will enable crazy things like adding multiple classes to multiple elements in really fast way.
How it works?

  1. You write boilerplate command like for first element:
    .py-1.px-2.bg-red
  2. Toggle Macro mode ON
  3. click in DOM tree panel on every element which should have applied that command
  4. Toggle OFF Macro mode when you are done

What if you forgot add it to some element?
Just toggle ON again and add it.

Is this just for adding classes, not really this will be probably most used case, but you can record any macro command like adding .bg-primary.py-1-px-2>h1.class-heading+p.class-my-text
and apply this to multiple for eg. divs to add classes and multiple styled elements to it
It really simple, you write first boilerplate, toggle ON and apply to any elements

@re-co re-co added feature request Ideas have to improve workflow workflow-2x commander labels Jul 14, 2021
@re-co re-co self-assigned this Jul 14, 2021
@re-co
Copy link
Owner Author

re-co commented Jul 22, 2021

Implemented in 0.9.0

@re-co re-co closed this as completed Jul 22, 2021
@re-co re-co added this to To do in 1.0.0 via automation Jul 23, 2021
@re-co re-co moved this from To do to Done in 1.0.0 Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commander feature request Ideas have to improve workflow workflow-2x
Projects
1.0.0
Done
Development

No branches or pull requests

1 participant