fix(editor): fix an arity error introduced by the last commit