Update class.htmledit.plugin.php
Merge pull request #1 from peregrine-web/patch-1

2.1 compatibility functions