This might include default block IDs, view IDs, h# tags, etc.

Comments

sreynen’s picture

Title: Add list of commonly-used CSS selectors » Add list of commonly-used CSS selectors to add form

Making title a little clearer

sreynen’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev

Now that 2.x is working, I'm moving all 1.x issues there.

sreynen’s picture

Version: 6.x-2.x-dev » 7.x-1.x-dev

I'm thinking this can be done entirely in JavaScript, hiding the textarea and adding a select with various options which would populate the hidden textarea, and an "other" option which would show the textarea again. For selectors, I'm no longer thinking it's worth looking up block or view IDs, as I doubt that's a common use case. I think these selectors probably cover most needs:

  • all headers (h1, h2, h3, h4, h5, h6)
  • h1
  • h2
  • h3
  • standard text (p, div)
  • everything (body)
sreynen’s picture

Status: Active » Needs review

This is committed in dev, if anyone wants to try it. Still needs porting to D6 version.

sreynen’s picture

Included in new 7.x-1.2 release.

sreynen’s picture

Status: Needs review » Patch (to be ported)

Still needs porting to 6.x branch.

sreynen’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Status: Patch (to be ported) » Fixed

This is done in 7.x-2.x, so we can just skip it in 7.x-1.x.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.