Move page editor code to helper
Call helper to setup page editors