Added simple editor functionality into html widget