Quote:
Originally Posted by kovidgoyal
The operation is not insert tags, it is change tags. What it does is find the first surrounding block level tag and change it to the specified tag. In your case the first surrounding block level tag is body, which cannot be changed, so instead a tag is inserted inside body.
|
I understand
Would it be possible to determine if there is text selected (#chars > 0) and if so then wrap the selected text in tags?