I am trying to write a function to take the highlighted text
in design view and get its parent tag, then wrap that whole section
with another tag.
using the function
dw.getDocumentDOM().source.selectParentTag() to get the selected
text's parent does not seem to work. i get the following error: "..
The function balanceTextView() is currently unavailable"
any way to get the same functionality as
dw.getDocumentDOM().source.wrapSelection() but to bump it up to the
text's parent node then wrap tags around it?