HTMLEditor constructors