Jump to content

CKEditor Justify Plugin Walkthrough


webweaver
 Share

Recommended Posts

Here is a simple tutorial how to enable the Justify capability in CKEditor

  • First, download the plugin at http://ckeditor.com/addon/justify . Copy the "justify" folder to the "plugins" folder under ckeditor in your modules directory and upload to server.
     
  • Edit the field that is using the ckeditor and go to the input tab..
     
  • Under CKEditor Setting > CKEditor Toolbar insert the following line where you want the icons to appear: JustifyLeft, JustifyCenter, JustifyRight, JustifyBlock
     
  • Use ACF? choose "No"
     
  • Under Extra Plugins insert: justify

post-1751-0-94596200-1383011649_thumb.pn

  • Like 7
Link to comment
Share on other sites

Thanks for the tutorial webweaver. Any idea why it's necessary to turn off ACF? The only reason I could think of is if the justify plugin isn't registering its markup/attributes with CKEditor, but that would be unusual given that it's included with CKEditor. I think ACF is a good thing and I avoid disabling it if at all possible.

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Has anyone here gotten "Underline" or TextColor to work ? 

I also downloaded the modules but i just wont show up, Acf is off and Justify works fine, also "Strike" but not Undeline which is somewhat strange as they are in the same package (basicstyles)  :(

DevTools show that panelbutton.js is not found, however im calling "colorbutton" as plugin

EDIT: Ok Underline was hidden in config, but TextColor still doesnt work and completly crashes the editor when loading

Link to comment
Share on other sites

  • 7 months later...

hi everyone,

is this still the only option to get the text-align buttons to ckeditor? also copying the justify plugin to wire/modules/InputfieldCKEditor is not the best thing as the wire folder will be overwritten on PW updates, no?

thanks for your help.

Link to comment
Share on other sites

hi everyone,

is this still the only option to get the text-align buttons to ckeditor? also copying the justify plugin to wire/modules/InputfieldCKEditor is not the best thing as the wire folder will be overwritten on PW updates, no?

thanks for your help.

Read about the new way of installing CKE plugins over here:

http://www.flamingruby.com/blog/processwire-weekly-13/#1-2 and more here

http://www.flamingruby.com/blog/processwire-weekly-14/#1-4

There's a forum post that I can't find now....

  • Like 2
Link to comment
Share on other sites

  • 5 years later...

thx to @wbmnfktr I learned that it is actually a lot easier to use some plugins that ship with the PW core: Just add the name of the plugin in the CKEditor Toolbar textarea and you are done!

No extra download, no copying of any files, nothing ? I was always avoiding adding plugins because it seemed so complicated... I'll start using them more often now ? 

I think this does only work if you have AdminOnSteroids installed ? 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...