Added Ref to editor