Remove unnecessary `isEditable` function from editor