Skip to main content
Topic: iOS 10 not showing editor buttons (Read 21638 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

Re: iOS 10 not showing editor buttons

Reply #45

Thanks Spuds.  I tried your suggestion and you were right, it did not fix the editor problem on iOS 10.

Re: iOS 10 not showing editor buttons

Reply #46

While googling around for more details, I found this http://apple.stackexchange.com/questions/252904/ios-10-safari-javascript-setting-disabled
I don't think it's the case here, because the reports tell of js working on other sites, but maybe is worth a check, just in case.
Bugs creator.
Features destroyer.
Template killer.

Re: iOS 10 not showing editor buttons

Reply #47

Quote from: emanuele – While googling around for more details, I found this http://apple.stackexchange.com/questions/252904/ios-10-safari-javascript-setting-disabled
I don't think it's the case here, because the reports tell of js working on other sites, but maybe is worth a check, just in case.
I checked and Javascript is enabled on Safari.  Keep in mind this also happens on Chrome for iOS.

 

Re: iOS 10 not showing editor buttons

Reply #48

Ohh... that is an interesting piece of information.
Now I'm even more confused.

Are you serving jquery for your domain or from a CDN?
Bugs creator.
Features destroyer.
Template killer.

Re: iOS 10 not showing editor buttons

Reply #49

Quote from: emanuele – Are you serving jquery for your domain or from a CDN?
Yes, I am using Cloudflare.  Auto Minify of Javascript is disabled.

Re: iOS 10 not showing editor buttons

Reply #50

I meant more: in the admin panel there is an option to use jquery CDN instead of using the one provided by Elk itself (in the themes directory), is that option enabled?
Bugs creator.
Features destroyer.
Template killer.

Re: iOS 10 not showing editor buttons

Reply #51

If could be useful I use these settings:
sorry for my bad english

Re: iOS 10 not showing editor buttons

Reply #52

Here are my settings...

Re: iOS 10 not showing editor buttons

Reply #53

Quote from: txcas – I checked and Javascript is enabled on Safari.  Keep in mind this also happens on Chrome for iOS.
Does Chrome h ave any developer tool that can return javascript errors?
Bugs creator.
Features destroyer.
Template killer.

Re: iOS 10 not showing editor buttons

Reply #54

While trying to find developer tools on Chrome for iOS I found an option on the browser to display the full desktop site instead of the mobile site.  When doing that the post editor works perfectly fine, it is the mobile version that is broken.  So I went back to my Mac and opened my site with Safari, but emulating Safari on iOS 10.  I finally got an error in the javascript console:



Re: iOS 10 not showing editor buttons

Reply #55

Could you check if in the other pages (without the editor) there is any error?
Bugs creator.
Features destroyer.
Template killer.

Re: iOS 10 not showing editor buttons

Reply #56

I navigated a whole bunch of other pages in iOS 10 emulation mode and none of them generated errors.  The error only comes up when the editor is used.  I tried the same thing on this site, and no errors are generated when the editor is opened.

Re: iOS 10 not showing editor buttons

Reply #57

Do you have custom defined smiley?
Do you have smiley in the popup?
Do you have... and custom bbcode adding a button to the editor?

In GenericControls.template.php, try changing:
Code: [Select]
		$(document).ready(function(){
elk_editor();
});
to:
Code: [Select]
		$(function() {
elk_editor();
});
Bugs creator.
Features destroyer.
Template killer.

Re: iOS 10 not showing editor buttons

Reply #58

One other question,

Do you have the full editor enabled in the quick reply area (check your user profile) ... if so do you get the same error on this page (the one with the Quick Reply at the bottom) as you do on the "Reply" page ?  

Re: iOS 10 not showing editor buttons

Reply #59

Quote from: emanuele – Do you have custom defined smiley?
Do you have smiley in the popup?
Do you have... and custom bbcode adding a button to the editor?


In GenericControls.template.php, try changing:
Code: [Select]
		$(document).ready(function(){
elk_editor();
});
to:
Code: [Select]
		$(function() {
elk_editor();
});
I only have the default smileys.
Smileys do not show up in the editor.  I am using the full editor, not quick reply.
As far as I know, no custom BBC code.

I made the code change you suggested and it did not make a difference.  I will clone my site and create an admin account for you guys to mess with.