Hi oleko,
Please try the code below
Editor1.Setting["security:TemplateGalleryPath"] = "~/myTemplate";
Regards,
Ken