Change connector() scope
Extract editor buttons to new scope