webweaver Posted October 29, 2013 Share Posted October 29, 2013 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 7 Link to comment Share on other sites More sharing options...
ryan Posted November 2, 2013 Share Posted November 2, 2013 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 More sharing options...
Joss Posted December 4, 2013 Share Posted December 4, 2013 I think it needs the justify class to be allowed if using ACF - not sure how to do that. See this: http://ckeditor.com/forums/CKEditor/Enable-Justify-in-ACF Oh, by the way, the standard installation of ckeditor does not include the justify plugin - that only comes with the full build. But you can download it. 1 Link to comment Share on other sites More sharing options...
Mr. NiceGuy Posted January 15, 2014 Share Posted January 15, 2014 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 More sharing options...
Martijn Geerts Posted January 15, 2014 Share Posted January 15, 2014 <qoute>but not Undeline</qoute>, I would consider that a good thing Link to comment Share on other sites More sharing options...
bernhard Posted August 28, 2014 Share Posted August 28, 2014 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 More sharing options...
kongondo Posted August 28, 2014 Share Posted August 28, 2014 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.... 2 Link to comment Share on other sites More sharing options...
bernhard Posted February 5, 2020 Share Posted February 5, 2020 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now