Editor: more complex toggleHtml to handle width/height and selecting the correct tool.
Editor: more complex toggleHtml to handle width/height and selecting the correct tool.

Includes a redo of ae1c6a0d129ad02ef2995858d201838a273d0fc6

samuelcole/wymeditor,samuelcole/wymeditor,samuelcole/wymeditor,samuelcole/wymeditor,samuelcole/wymeditor,samuelcole/wymeditor