Answers.Body: <p>Probably several ways you could tackle this like with a custom Redactor JS plugin, but I'd probably write a Craft plugin that forked and extended the original Craft Redactor plugin.</p>
  
  <p>From there, you could overwrite the Redactor field's <code>normalizeValue()</code> method and parse the input to make whatever changes you want before returning.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-16T00:09:01.863Z
Answers.LastActivityDate: 2018-10-16T00:09:01.863Z
Answers.UserDisplayName: Brad Bell
Body: <p>I am wanting to hook into all my redactor fields content before rendering and update any inline links to include a title="" attribute. Is it possible to hook into the field before it is rendered? With PHP or in settings (<a href="https://imperavi.com/redactor/docs/settings/" rel="nofollow noreferrer">https://imperavi.com/redactor/docs/settings/</a>)?</p>
  
  <p>Thanks</p>
  
Tags: <redactor><hook>
Title: Can you hook into a Redactor field before render?
ThreadText: # Can you hook into a Redactor field before render?
  
  (Asked by: username_0 on 2018-10-11)
  
  I am wanting to hook into all my redactor fields content before rendering and update any inline links to include a title="" attribute. Is it possible to hook into the field before it is rendered? With PHP or in settings (<https://imperavi.com/redactor/docs/settings/>)?
  
  Thanks
  
  **Tags:** redactor, hook
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-10-16. Score: 0 | Accepted answer
  
  Probably several ways you could tackle this like with a custom Redactor JS plugin, but I'd probably write a Craft plugin that forked and extended the original Craft Redactor plugin.
  
  From there, you could overwrite the Redactor field's `normalizeValue()` method and parse the input to make whatever changes you want before returning.
  
  
  ---
  
  