editor basic function complete