Reputation: 11089
I suppose this is a more specific version of my recent question Browser-sniffing alternative for bugs/misbehaviors (NOT lack of features).
CKEditor is known not to work on certain clients like iOS Safari. Rather than use hackish browser detection, is there a way to see at runtime whether ckeditor will work on the current browser so that I can not load it or fall back to an alternative in case it won't?
Upvotes: 0
Views: 463
Reputation: 12740
Use CKEditor.env.isCompatible and that way you can know exactly if a browser version is supported or not (for example iOS 5 is supported in 3.6.2 as Clive has mentioned)
Upvotes: 1
Reputation: 449783
CKEditor has the instanceReady()
event. That might help - if you can afford to wait for that to fire, and have a timeout of sorts in case it doesn't.
There doesn't seem to be a onerror
event in CKEditor. The list of main events is here.
Upvotes: 0