Answers.Body: <p>It turns out this has a simple fix: add the 'Justify' plugin to Civicrm.</p>
  
  <p>Go to the CKEditor config screen: Administer > Customise data and screens > Display preferences > CKEditor config</p>
  
  <p>Then add the Justify plugin. </p>
  
  <p>A new toolbar group will appear in the 'paragraph' section, which you can then move around as you'd like.</p>
  
  <p>Then save your settings...</p>
  
  <p>In my installation, for some reason something is hampering the UI from working properly. If that's the case, you can still call the plugin by directly editing the config file: (in our drupal 7.56 installation)
  sites/default/files/civicrm/persist/crm-ckeditor-default.js</p>
  
  <p>and ensure you add the justify plugin to lines like:</p>
  
  <pre><code>{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph', 'justify' ] },
  </code></pre>
  
  <p>and</p>
  
  <pre><code>config.extraPlugins = "justify,showblocks";
  </code></pre>
  
  <p>If you're editing this file directly you have to be very aware that it will be over-written if anyone saves the CKEditor settings using the UI as above.</p>
  
  <p>Hope this is helpful to others out there mystified by the lack of these buttons!</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-21T15:56:38.380Z
Answers.LastActivityDate: 2017-10-21T15:56:38.380Z
Answers.UserDisplayName: Andyg8
Body: <p>In 4.7 - in my 4.7.24 as well as the demo - these buttons are no longer present in the CKEditor wysiwyg button toolbar.</p>
  
Tags: <ckeditor>
Title: CKEditor - add left, right, centre, justify buttons
ThreadText: # CKEditor - add left, right, centre, justify buttons
  
  (Asked by: username_0 on 2017-10-21)
  
  In 4.7 - in my 4.7.24 as well as the demo - these buttons are no longer present in the CKEditor wysiwyg button toolbar.
  
  **Tags:** ckeditor
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-10-21. Score: 5
  
  It turns out this has a simple fix: add the 'Justify' plugin to Civicrm.
  Go to the CKEditor config screen: Administer > Customise data and screens > Display preferences > CKEditor config
  Then add the Justify plugin. 
  A new toolbar group will appear in the 'paragraph' section, which you can then move around as you'd like.
  Then save your settings...
  In my installation, for some reason something is hampering the UI from working properly. If that's the case, you can still call the plugin by directly editing the config file: (in our drupal 7.56 installation)
  sites/default/files/civicrm/persist/crm-ckeditor-default.js
  and ensure you add the justify plugin to lines like:
  { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph', 'justify' ] },
  
  and
  config.extraPlugins = "justify,showblocks";
  
  If you're editing this file directly you have to be very aware that it will be over-written if anyone saves the CKEditor settings using the UI as above.
  Hope this is helpful to others out there mystified by the lack of these buttons!
  
  
  ---
  
  