1. 5
Justify
55 (1 vote)
7328777 downloads justify
  • Add to my editor
  • Download

    CKBuilder

    The recommended way to install all CKEditor add-ons is to create a custom build by using CKBuilder. To do that, click the Add to my editor button on the plugin page. When you are done, click the Build my editor button on the right side of the page to go to CKBuilder.

    Add-on Installation Instructions

    If you want to add the plugin manually, you will need to:

    1. Extract the downloaded plugin .zip into the plugins folder of your CKEditor installation. Example:
      http://example.com/ckeditor/plugins/justify
    2. Enable the plugin by using the extraPlugins configuration setting. Example:
      config.extraPlugins = 'justify';
    3. Download and configure all its dependencies, too.

    Add-on Dependencies

    No additional dependencies.

Justify

This plugin adds text justification commands: left/right alignment, center and justify.

You can set your own classes which editor will assign to block elements when justifying them.

Releases

Plugin versions CKEditor versions
4.5 4.4 4.3 4.2 4.1 4.0

Version: 4.5.9 - Download

Show notes

Another bug fixing release for the 4.5 series.

compatibleunknown compatibilityunknown compatibilityunknown compatibilityunknown compatibilityunknown compatibility

Version: 4.4.8 - Download

Show notes

Another bug-fixing release for the 4.4 series.

unknown compatibilitycompatibleunknown compatibilityunknown compatibilityunknown compatibilityunknown compatibility

Version: 4.3.5 - Download

Show notes

Another bug fixing release for the 4.3 series

unknown compatibilityunknown compatibilitycompatibleunknown compatibilityunknown compatibilityunknown compatibility

Version: 4.2.3 - Download

Show notes

Another bug fixing release for the 4.2 series

unknown compatibilityunknown compatibilityunknown compatibilitycompatibleunknown compatibilityunknown compatibility

Version: 4.1.3 - Download

Show notes

The next bug fixing release for CKEditor 4.1.x series

unknown compatibilityunknown compatibilityunknown compatibilityunknown compatibilitycompatibleunknown compatibility

Version: 4.0.3 - Download

Show notes

Another bug fixing release for the 4.0 series

unknown compatibilityunknown compatibilityunknown compatibilityunknown compatibilityunknown compatibilitycompatible
Log in to rate this plugin

Comments

Post a comment
  1. The content of this field is kept private and will not be shown publicly.
  2. *  Required fields
  1. I found that Justify clashes with Word Count & Char Count and disables it.

  2. It shouldn't modify any of the text arealdy submitted.

  3. Hi! After plugin was installed it works but without icons on plugin buttons. 

    plugin connected by config.extraPlugins = 'justify'; in config.js 

    what am I doing wrong?

  4. I finally got it working by adding 'justify' to my extraPlugins and adding 'JustifyLeft', etc. to my toolbar:

    extraPlugins: 'mediaembed,oembed,justify'

    toolbar: [
                { name: 'alignment', items : [ 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock' ] },
            ]

  5. Hi, 
    I'm using bower and gulp to build my app
    I found some issues with this plugin, and it becomes imposible to debug

    PhantomJS 1.9.7 (Mac OS X) ERROR
      TypeError: 'null' is not an object (evaluating 'a.langEntries')
      at /Library/WebServer/Documents/nomadica/repo/vreasy/worldhomes/public/angular/dependencies/bower_components/ckeditor/ckeditor.js:209

    What im doing wrong?
    If i remove this plugin everything works like charm

  6. PearceStephens's picture

    PearceStephens

    Reply

    Using CKE Editor v4.4.6 I had to do the following to enable this plugin

    1. Copy the justify folder to plugins directory
    2. Add this to config: config.extraPlugins = 'justify';
    3. Add justify to the toolbarGroups array

    Mine looks like this

      

     config.toolbarGroups = [
            { name: 'clipboard',   groups: [ 'clipboard', 'undo' ] },
            { name: 'editing',     groups: [ 'find', 'selection', 'spellchecker' ] },
            { name: 'links' },
            { name: 'insert' },
            { name: 'forms' },
            { name: 'tools' },
            { name: 'document',       groups: [ 'mode', 'document', 'doctools' ] },
            { name: 'others' },
            '/',
            { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
            { name: 'paragraph',   groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
            { name: 'alignment', groups : [ 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock' ] },
            { name: 'styles' },
            { name: 'colors' },
            { name: 'about' }
        ];

     

  7. DavidF's picture

    DavidF

    Reply

    I've just installed this into my CMS in the hope that it would fix a strange problem encountered with a wysiwyg textarea. It didn't. The problem was that although the center button correctly inserted style="text-align:center", when the updated form was saved the style was changed to center="". Yet, if I manually edited the HTML to insert align="center", saving the form retains the inline style. If I knew where the textarea content was being change I might be able to fix it. I can't see anything in the CMS code itself, so I'm assuming it's something in ckeditor. I'm stumped.

  8. Aaron's picture

    Aaron

    Reply

    It would be good if there was an option to group the justify options under a dropodown menu, iwth the toolbar icon being the currently selected justification.

  9. 1 2 > >>