Kendo UI Editor; Loads in iPhone, Android Tablet/Phone, but not iPad.

5 posts, 1 answers
  1. Dan
    Dan avatar
    4 posts
    Member since:
    Jul 2012

    Posted 24 Oct 2012 Link to this post

    Hello,

    The code is the same for each platform, no javascript platform checking is done, it is all the same index.html page. iPhone loads the kendo editor fine, so does both Androids in the simulator, except iPad.
    xxx.kendoEditor(...); stays undefined, which breaks all the javascript afterwards.

    This works on our physical office iPad, and the XCode Simulator on the macobookpro, which is why I think it's ICENIUM related. (tried Mist as well)

    Thanks!, awesome app btw.
  2. Jordan
    Admin
    Jordan avatar
    197 posts

    Posted 25 Oct 2012 Link to this post

    Hello David,

    Icenium iPad simulator appears to Kendo and other scripts as iOS 4.0 iPad, and actually correctly represent the Kendo Editor under iPad with that iOS.

    We will provide in the future option to select the iOS version and make it clearly visible in simulator.
    It is always recommend to test on real devices targeted by your app if possible.

    FYI:According to Kendo Team:
    The Kendo Editor requires the browser to support rich text editing. iOS Safari supports that from version 5: http://www.tuaw.com/2011/06/08/will-ios-5s-safari-deliver-better-support-for-web-editors/

    Regards,

    Jordan
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Pluralsight.
  3. Dan
    Dan avatar
    4 posts
    Member since:
    Jul 2012

    Posted 25 Oct 2012 Link to this post

    Hi Jordan,

    I have tried overriding the User-Agent in Graphite's settings as iOS 5 iPad and still no luck.
  4. Answer
    Jordan
    Admin
    Jordan avatar
    197 posts

    Posted 26 Oct 2012 Link to this post

    Hi David,

    unfortunately we override that :)

    but to unblock testing on iPad simulator in your case add code below after <script type="text/javascript" src="cordova.js"></script>\

    Code to override user agent:
    <script>
    if (navigator.userAgent.indexOf('iPad;') > -1) {
    window.navigator.__defineGetter__('userAgent', function () {

                        return 'Mozilla/5.0 (iPad; CPU OS 5_1_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Mobile/9B206';
    });
    }
    </script>

    All the best,
    Jordan
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Pluralsight.
  5. Dan
    Dan avatar
    4 posts
    Member since:
    Jul 2012

    Posted 26 Oct 2012 Link to this post

    Hello Jordan,

    Thanks a lot!!! It's works perfectly fine.

    Kind Regards,
    Dave
Back to Top