split editor in sub templates