using the redactor API to get content