Can we get a new Clips variable that allows a clip to replace the nearest set of opening/closing tags with whatever is defined for the clip?
For example in the regular tool panel, if your cursor is anywhere inside a paragraph and you click on Heading 1 or Ctrl+1 it will replace both of the surrounding p tags with h1 tags without needing to select the entire paragraph first.
It would be nice if we could create clips that could do something similar and turn a paragraph into an <aside>, <cite>, <blockquote> or whatever.
It would also make existing example clips such as <h1 class="heading"> more useful. Technically you aren't supposed to have the H tags inside a paragraph or vice-versa.
|