align Redactor interface with strings.Replacer