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

Re: iOS 10 not showing editor buttons

Reply #15
As a shot in the dark ... I believe we only use $editor_data["message"].css in one place .. try removing just that to see if it fixes the issue.

In the default theme /themes/default open the file GenericControls.template.php ... (if you customized this, then edit the one in your custom theme)

Find the line, it should be 151
Code: (find) [Select]
				$editor_data["', $editor_id, '"].css("code {white-space: pre;}").createPermanentDropDown();', $editor_context['rich_active'] ? '' : '

Replace it with
Code: (replace) [Select]
				$editor_data["', $editor_id, '"].createPermanentDropDown();', $editor_context['rich_active'] ? '' : '

and let us know if it has any effect.
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.

Re: iOS 10 not showing editor buttons

Reply #16
Hm, don't have exactly this line. Here's the part from my file:

Code: [Select]
		// Create the tooltag rows to display the buttons in the editor
foreach ($context['bbc_toolbar'] as $i => $buttonRow)
echo implode('', $buttonRow), '||';

echo ',emoticon",';
}
else
echo ',
toolbar: "source,emoticon",';

echo '
});
$editor_data[\'', $editor_id, '\'] = $("#', $editor_id, '").data("sceditor");
$editor_container[\'', $editor_id, '\'] = $(".sceditor-container");
$editor_data[\'', $editor_id, '\'].css(\'code {white-space: pre;}\').createPermanentDropDown();
$editor_container[\'', $editor_id, '\'].width("100%").height("100%");', $editor_context['rich_active'] ? '' : '
$editor_data[\'' . $editor_id . '\'].setTextMode();', '
if (!(is_ie || is_ff || is_opera || is_safari || is_chrome))
$(".sceditor-button-source").hide();
', isset($context['post_error']['errors']['no_message']) || isset($context['post_error']['errors']['long_message']) ? '
$editor_container[\'' . $editor_id . '\'].find("textarea, iframe").addClass("border_error");' : '', '
}

$(document).ready(function(){
elk_editor();
});

// ]]></script>';
}

Re: iOS 10 not showing editor buttons

Reply #17
That might be one of 1.1.x and 1.0.x code differences. Wait for confirmation but following the advise, they could be the following line:
Code: [Select]
				$editor_data[\'', $editor_id, '\'].css(\'code {white-space: pre;}\').createPermanentDropDown();

To be change to:
Code: [Select]
				$editor_data[\'', $editor_id, '\'].createPermanentDropDown();


Re: iOS 10 not showing editor buttons

Reply #18
Thanks, made the edit and now my users have to test again.

Re: iOS 10 not showing editor buttons

Reply #19
Still the same result. No icons, no smileys.  :(

Re: iOS 10 not showing editor buttons

Reply #20
I guess the only way to solve this is invest some 70 euro and get a 2nd hand iphone?
Bugs creator.
Features destroyer.
Template killer.

Re: iOS 10 not showing editor buttons

Reply #21
No need to. I can ask my users to test anytime.

Re: iOS 10 not showing editor buttons

Reply #22
Do they have Javascript enabled in their Safari settings ?  Had to ask.
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.

Re: iOS 10 not showing editor buttons

Reply #23
Yes.

Re: iOS 10 not showing editor buttons

Reply #24
Out of topic a bit - I am curious since my ipad mini 3 still says the current version of 9++ is the latest. Could it be that version 10 is only for regular size (non-mini) ipad?

Re: iOS 10 not showing editor buttons

Reply #25
Today I've received the same notice from a member of my forum, no bb buttons into editor and no smiley displayed
It was fine before updating to iOS 10
sorry for my bad english

Re: iOS 10 not showing editor buttons

Reply #26
Thanks for the info, radu!

Re: iOS 10 not showing editor buttons

Reply #27
Sorry for the bump, but please don't forget about this. Thank you
sorry for my bad english

Re: iOS 10 not showing editor buttons

Reply #28
I didn't forget it, but the only way I have to debug it is have a device with iOS 10 in my hands (because I really have no idea what's going on and I'd need to try any thing that comes to my mind, and do it while looking directly at the output).
Unfortunately I don't have one and they are a little more expensive than I thought. :-\
Bugs creator.
Features destroyer.
Template killer.

Re: iOS 10 not showing editor buttons

Reply #29
I understand that is difficult or probably impossible to find the problem without an apple device. I know they are not cheap, I don't have one either, and to be honest I prefer the Android world, but that's another story.. 
After a quick search I found that iPhone 5 can be updated to ios 10, my wife has one, if there is something I can do just let me know. 
sorry for my bad english