Use the actual source for the CM editor (cm) + implement empty APIs