WebDevStudios / wd_s

A starter theme from WebDevStudios.
https://wdunderscores.com
GNU General Public License v2.0
663 stars 138 forks source link

Block Build CLI output updates #1052

Closed schlotterer closed 8 months ago

schlotterer commented 1 year ago
  1. Use “wds” as the namespace permanently - this will simplify set up and make the bocks more portable within WDS builds

    1. Convert any current namespaces to wds
    2. remove any notes in the find and replace about blocks namespaces
    3. leave the namespace customization option but don’t promote it as a default
    4. train engineers to work with client agnostic names in the blocks
  2. Specific things to add to the cli functionality to be prebuilt:

    1. Auto generate block class via the block name and add it to the block
    2. get the block id and add it to the block
    3. setup some of the default gutenberg attributes https://www.advancedcustomfields.com/resources/blocks/
      1. anchor
      2. classname
      3. block align
    4. link back to the docks in each block
    5. Better escaping for attributes