Answers.Body: <p>In case anyone runs into this issue and finds the Redactor-Extras plugin isn't working, this plugin by Doug Thwaites worked for me: <a href="https://github.com/DougThwaites/CraftRedactorFontAlignment" rel="nofollow noreferrer">https://github.com/DougThwaites/CraftRedactorFontAlignment</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-19T19:20:15.350Z
Answers.Text: Welcome to Craft! There's no need for a plugin - just add `"plugins": ["alignment"],` to your Redactor config
Answers.UserDisplayName: darylknight
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-21T13:48:51.040Z
Answers.Text: It's that easy to tell I'm new to Craft? I don't know if that's a good sign or a bad one...
Answers.UserDisplayName: Ruben Vreeken
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-19T18:37:04.660Z
Answers.LastActivityDate: 2020-10-19T18:37:04.660Z
Answers.UserDisplayName: Ruben Vreeken
Answers.Body: <p>Per their <a href="https://github.com/elliotlewis/Redactor-Extras#configuration" rel="nofollow noreferrer">configuration docs</a>, which also link to <a href="https://craftcms.com/docs/rich-text-fields#redactor-configs" rel="nofollow noreferrer">Craft's docs</a> on the subject, it looks like you'd just need to add "alignment" to the plugins portion of one of your <code>craft/config/redactor/</code> JSON config files.</p>
  
  <p>i.e. </p>
  
  <pre><code>{
      "plugins": ["alignment"]
  }
  </code></pre>
  
  <p>Then whatever config you end up modifying, you'll want to make sure that config is selected under that field's settings in Craft (Settings->Fields->Your Rich Text Field).</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-11T11:40:48.217Z
Answers.Text: Just what I needed, turns out I was missing out that last step. Thanks!
Answers.UserDisplayName: Amy
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-19T02:35:17.557Z
Answers.Text: This does not work as Craft does not include the Alignment plugin. P&T, please add this plugin. https://imperavi.com/redactor/plugins/alignment/
Answers.UserDisplayName: AbbeyDesign
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-10T21:39:50.373Z
Answers.LastActivityDate: 2017-08-10T21:39:50.373Z
Answers.UserDisplayName: Brad Bell
Body: <p>I'm trying to add the ability to be able to align text left, right and center to my rich text fields. I have had a look into it and can only find a version which works perfect for body fields but not rich content.</p>
  
  <p>The plugin I tried to use for this is here: <a href="https://github.com/elliotlewis/Redactor-Extras" rel="nofollow noreferrer">https://github.com/elliotlewis/Redactor-Extras</a></p>
  
  <p>I also looked at redactorstyles which did the same thing.</p>
  
  <p>Is there possibly a way to apply this to all fields or is there another way I could go about it in redactors standard.json? </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-10-11T17:58:23.577Z
Comments.Text: Doesnt work for me any more. Is the "alignment" plugin not available any more in the latest redactor version?
Comments.UserDisplayName: Jan
Tags: <redactor><richtext><plugin-redactorstyles>
Title: Text Align Buttons for Rich Text Fields
ThreadText: # Text Align Buttons for Rich Text Fields
  
  (Asked by: username_0 on 2017-08-10)
  
  I'm trying to add the ability to be able to align text left, right and center to my rich text fields. I have had a look into it and can only find a version which works perfect for body fields but not rich content.
  
  The plugin I tried to use for this is here: <https://github.com/elliotlewis/Redactor-Extras>
  
  I also looked at redactorstyles which did the same thing.
  
  Is there possibly a way to apply this to all fields or is there another way I could go about it in redactors standard.json?
  
  **Tags:** redactor, richtext, plugin-redactorstyles
  
  > **Comments:**
  > **username_1**: Doesnt work for me any more. Is the "alignment" plugin not available any more in the latest redactor version?  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_4 on 2017-08-10. Score: 4 | Accepted answer
  
  Per their [configuration docs](https://github.com/elliotlewis/Redactor-Extras#configuration), which also link to [Craft's docs](https://craftcms.com/docs/rich-text-fields#redactor-configs) on the subject, it looks like you'd just need to add "alignment" to the plugins portion of one of your `craft/config/redactor/` JSON config files.
  
  i.e.
  
  ```
  {
      "plugins": ["alignment"]
  }
  
  ```
  
  Then whatever config you end up modifying, you'll want to make sure that config is selected under that field's settings in Craft (Settings->Fields->Your Rich Text Field).
  
  > **Comments:**
  > **username_0**: Just what I needed, turns out I was missing out that last step. Thanks!  
  > **username_5**: This does not work as Craft does not include the Alignment plugin. P&T, please add this plugin. https://imperavi.com/redactor/plugins/alignment/  
  
  ---
  
  ### Answer by username_2 on 2020-10-19. Score: 1
  
  In case anyone runs into this issue and finds the Redactor-Extras plugin isn't working, this plugin by Doug Thwaites worked for me: <https://github.com/DougThwaites/CraftRedactorFontAlignment>
  
  > **Comments:**
  > **username_3**: Welcome to Craft! There's no need for a plugin - just add `"plugins": ["alignment"],` to your Redactor config  
  > **username_2**: It's that easy to tell I'm new to Craft? I don't know if that's a good sign or a bad one...  
  
  ---
  
  