Nathan Explosion Posted July 21, 2015 Share Posted July 21, 2015 This is for all those who have complained about this - it's been bugging me as to why this is happening, as source formatting is a default function in a download of ckeditor. I've had a bit of time today to sit down and look at it closely and here's your solution. http://ckeditor.com/addon/htmlwriter Install the 4.4.8 version of the plugin, as the CKEditor version in use on IPS4 at present is the 4.4 code line. The above plugin is included in a default download of CKEditor but is not included in the plugins IPS use by defaults. Good luck Link to comment Share on other sites More sharing options...
gbstn10 Posted July 21, 2015 Share Posted July 21, 2015 If this works, I vote you be moved from the 'Clients' group into the 'Heroes' group alongside Charles and Lindy. Link to comment Share on other sites More sharing options...
Nathan Explosion Posted July 21, 2015 Author Share Posted July 21, 2015 Awww shucks @Charles - sorry to tag you in here but can you guys look at adding the htmlwriter plugin into CKEditor when you move to using the 4.5.x version please? Link to comment Share on other sites More sharing options...
Management Charles Posted July 21, 2015 Management Share Posted July 21, 2015 Yes we can look into that. We're doing lots of editor updates that will be out in the next few weeks. Link to comment Share on other sites More sharing options...
Nathan Explosion Posted July 21, 2015 Author Share Posted July 21, 2015 Thanks - appreciate it. Link to comment Share on other sites More sharing options...
broni Posted July 21, 2015 Share Posted July 21, 2015 I can't wait to go home and check it out Link to comment Share on other sites More sharing options...
Nathan Explosion Posted July 22, 2015 Author Share Posted July 22, 2015 @GabrielS @broniC'moin....how'd it go? Link to comment Share on other sites More sharing options...
gbstn10 Posted July 22, 2015 Share Posted July 22, 2015 @GabrielS @broniC'moin....how'd it go?Just checked now. It's not 100% perfect on a couple of custom bits of code I had in place, but it's way, way, way, way, way, way better than it was before. Very happy. Link to comment Share on other sites More sharing options...
broni Posted July 22, 2015 Share Posted July 22, 2015 OK guys...some help needed. Instructions: I can't find "ckeditor" directory in my forum FTP. Link to comment Share on other sites More sharing options...
Nathan Explosion Posted July 22, 2015 Author Share Posted July 22, 2015 Those are the CKEditor specific instructions - ignore them, as IPS4 provides a method to do what is required.Download the addon zip file http://ckeditor.com/addon/htmlwriter (version 4.4.8)ACP -> Customization -> (Editor) Toolbars -> Add ButtonUpload the zip file. Link to comment Share on other sites More sharing options...
broni Posted July 22, 2015 Share Posted July 22, 2015 Aha....thanks It seems to be working well. Thanks again for saving my sanity Link to comment Share on other sites More sharing options...
Nathan Explosion Posted July 23, 2015 Author Share Posted July 23, 2015 Good to hear (aka bumping this to keep it up and in view for a bit longer hehe) Link to comment Share on other sites More sharing options...
broni Posted July 23, 2015 Share Posted July 23, 2015 Link to comment Share on other sites More sharing options...
Lukeroge Posted July 24, 2015 Share Posted July 24, 2015 Did you guys use this plugin to enable the source editing option? It doesn't seem to be working for me (yes I used the older version) Link to comment Share on other sites More sharing options...
broni Posted July 24, 2015 Share Posted July 24, 2015 I assume you got Version: 4.4.8, right?What is not working? Link to comment Share on other sites More sharing options...
Nathan Explosion Posted July 24, 2015 Author Share Posted July 24, 2015 Source editing is in by default, and no additional plugin is required - you need to turn on the "Can post html?" option in the ACP for a group, and that will reveal the button. Link to comment Share on other sites More sharing options...
querschlaeger Posted July 24, 2015 Share Posted July 24, 2015 Source editing is in by default, and no additional plugin is required - you need to turn on the "Can post html?" option in the ACP for a group, and that will reveal the button. Or you can disable JavaScript temporarily. This gives you a plain text area where you can type HTML (no need that an admin allow it). Example of this post (edit): Link to comment Share on other sites More sharing options...
Nathan Explosion Posted July 24, 2015 Author Share Posted July 24, 2015 Interesting - I'm logging that as a bug as the forum software shouldn't allow html to be posted. Link to comment Share on other sites More sharing options...
querschlaeger Posted July 24, 2015 Share Posted July 24, 2015 I saw your bug report. IMO they will reject it (sadly). It is the way the editor works. The WYSIWYG editor also submits HTML. It just overlay the HTML with a preview of itself. Link to comment Share on other sites More sharing options...
Nathan Explosion Posted July 24, 2015 Author Share Posted July 24, 2015 I know how it works as I've been using CKEditor for 5 years myself - and in this case, the forum software itself has to come in to play and reject the posted content, or at least strip the tags. Link to comment Share on other sites More sharing options...
querschlaeger Posted July 24, 2015 Share Posted July 24, 2015 Rejecting is a bad way. On my site some users have JavaScript disabled and I don't want to reject all posts of them. strip tags sounds good. But the software has to (correctly) check if the post was send from a JavaScript disabled client. I wonder how IPS will deal with it. Link to comment Share on other sites More sharing options...
Nathan Explosion Posted October 11, 2015 Author Share Posted October 11, 2015 Note: this is no longer required to be done with IPS 4.1 as it is included by default. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.