Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
EarthDog Posted March 31, 2016 Posted March 31, 2016 Is there any way that i can enable fullscreen topic/post editing for my users?
EarthDog Posted March 31, 2016 Author Posted March 31, 2016 1 minute ago, Nathan Explosion said: http://ckeditor.com/addon/maximize Nice, do you have any link about getting it into the instance of IPB?
Nathan Explosion Posted March 31, 2016 Posted March 31, 2016 Download the zip ACP -> Customization -> (Editor) Toolbars -> Add Button Upload the zip Drag the icon from the bottom editor to the top editor
Nathan Explosion Posted March 31, 2016 Posted March 31, 2016 I can throw out general comments too: This plugin is working on IPS4. But I can also back it up by proving it: 1) I've used it. 2) I've just tested it. 3) Here's pictures of it working. Over to you to elaborate on why it isn't working correctly for you
EarthDog Posted March 31, 2016 Author Posted March 31, 2016 ok guys, i am testing it now in dev installation and letting you know
EarthDog Posted March 31, 2016 Author Posted March 31, 2016 So guys it seems we have issues on my side. Chrome is having trouble and firefox also... First pic from chrome second from firefox. Cleaned cache
Nathan Explosion Posted March 31, 2016 Posted March 31, 2016 No issues like that here - default IPS theme, Chrome/Firefox/Safari/IE all good. Scratch that...had another thing going on in Chrome -> yes...major issues. But all other browsers fine.
Nathan Explosion Posted March 31, 2016 Posted March 31, 2016 That's down to z-index....to workaround it, edit the following file: /applications/core/interface/ckeditor/ckeditor/plugins//maximize/plugin.js Locate the 2 lines that have "editor.config.baseFloatZIndex" in them and change the " - 5" in the lines to " + 5000" That will give it a z-index of 15000 (baseFloatZIndex is 10000) and should sort you out.
EarthDog Posted March 31, 2016 Author Posted March 31, 2016 It seems my friend that your trick did the job...Many thanksssss
EarthDog Posted April 13, 2016 Author Posted April 13, 2016 On 31/03/2016 at 3:31 PM, Nathan Explosion said: That's down to z-index....to workaround it, edit the following file: /applications/core/interface/ckeditor/ckeditor/plugins//maximize/plugin.js Locate the 2 lines that have "editor.config.baseFloatZIndex" in them and change the " - 5" in the lines to " + 5000" That will give it a z-index of 15000 (baseFloatZIndex is 10000) and should sort you out. I noticed that after changing the z index the font and font size dropdowns do not appear while in full screen mode. How can we find the dweet spot for the correct zindex number?
Nathan Explosion Posted April 13, 2016 Posted April 13, 2016 You can do that by figuring out what the zindex values are for those items and then go from there.
Nathan Explosion Posted April 13, 2016 Posted April 13, 2016 The answer is 10001 is the zindex of those 2 dialogs, which is 1 above the baseFloatZIndex of the editor itself. You can use either: editor.config.baseFloatZIndex or editor.config.baseFloatZIndex + 1 instead of editor.config.baseFloatZIndex -5 in that case (not tested)
EarthDog Posted April 16, 2016 Author Posted April 16, 2016 On 4/13/2016 at 7:02 PM, Nathan Explosion said: The answer is 10001 is the zindex of those 2 dialogs, which is 1 above the baseFloatZIndex of the editor itself. You can use either: editor.config.baseFloatZIndex or editor.config.baseFloatZIndex + 1 instead of editor.config.baseFloatZIndex -5 in that case (not tested) That worked for the font size , font e.t.c BUT it does not work with the buttons that require a new dialog , like CODE, INSERT LINK e.t.c Any magic for that one?
Nathan Explosion Posted April 16, 2016 Posted April 16, 2016 Nope - you're on your own, as I'm not going to have much time over the next few days to look at this. All I did to figure the last one out is look at the site in firebug and look at the z-indexes generated as and when items are utilised.
EarthDog Posted April 16, 2016 Author Posted April 16, 2016 Thanks anyway! Nathan! You did enough to get me started
Recommended Posts
Archived
This topic is now archived and is closed to further replies.