webweaver Posted October 29, 2013 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
ryan Posted November 2, 2013 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.
Joss Posted December 4, 2013 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
Mr. NiceGuy Posted January 15, 2014 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
Martijn Geerts Posted January 15, 2014 Posted January 15, 2014 <qoute>but not Undeline</qoute>, I would consider that a good thing
bernhard Posted August 28, 2014 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.
kongondo Posted August 28, 2014 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
bernhard Posted February 5, 2020 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 ?
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