Attach editor

Except not really. It can't seem to find an active editor... There
must be more to do...