renamed buildEditor to getContent.