Fixed enable/disable html editor issue