editor as lib