Closed (fixed)
Project:
FCKeditor - WYSIWYG HTML editor
Version:
6.x-1.4-rc1
Component:
User interface
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Sep 2009 at 23:00 UTC
Updated:
14 Sep 2009 at 19:12 UTC
Our clients are complaining that the iPhone cannot click in the text area.
I believe that this is because it is trying to launch its own editor instead. The user can click the plain input button to get it working but this is a bit confusing.
For a code patch to dissable FCK editor for the iphone,
In fckeditor.utils.js turn this
Drupal.behaviors.fckeditor = function(context) {
### Normal Code ###
}into
Drupal.behaviors.fckeditor = function(context) {
var agent=navigator.userAgent.toLowerCase();
var no_iphone = (agent.indexOf('iphone')==-1);
if (no_iphone) {
### Normal Code ###
}
}Increases loading time and make it more user friendly.
Would be better to make this a config item but this works for now.
Comments
Comment #1
Jorrit commentedI don't have an iPhone. When I fake the user agent of Firefox to be the user agent of the iPhone, FCKeditor does not show up. Could you give me the following information:
1) The user agent string of your iPhone. You can find it by visiting a http://whatsmyuseragent.com/ on your iPhone. I'm especially interested in the number after
AppleWebKit/2) Your FCKeditor version (not the module version)
Comment #2
Jorrit commentedClosed because of lack of response.