Hi,
Please find example codes below:
Editable region content:
CMS.CMSHelper.CMSContext.CurrentPageInfo.EditableItems["editabletext1"].ToString();
Document content:
CMS.CMSHelper.CMSContext.CurrentDocument.DocumentContent.ToString();
I hope it will help you to achieve your goals.
Thank you.
Best Regards,
Miroslav Remias