Editor Issue on Ipad

6 posts, 0 answers
  1. Hubert
    Hubert avatar
    1 posts
    Member since:
    Jul 2012

    Posted 04 Jul 2012 Link to this post

    Hi,

    I am having Issue on Ipad on using the editor. 

    When I write a very long line without any space or break.

    example:
    mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm

    This line will flow over the editor.

    On PC (non-ipad) the editor automatically has a horizontal scroll-bar, but not on Ipad.

    Does anyone ever encounter this problem. Did I missed anything in the setting.

    The was I set up the editor is pretty straight forward.
    $('#some-textarea').kendoEditor({ tools: ["bold", "italic"] });

    Thanks in advance,
    Hubert


  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 04 Jul 2012 Link to this post

    Hello Hubert,

    We have just reproduced the issue. Alas, there is no simple fix for this bug, as the editor uses an iframe and iOS tries to show all its content. We have logged this for further investigation.

    A work-around for this is to set the width of the body element in the iframe, like this:

        var editor = $("#editor")
        editor.data("kendoEditor").body.style.width = editor.find("td:last").width() + "px";


    Please note that this width should be updated on every window resize / orientationchange.

    Your Telerik points have been updated for the bug report.

    All the best,
    Alex Gyoshev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Igor
    Igor avatar
    145 posts
    Member since:
    Jan 2011

    Posted 10 Dec 2012 Link to this post

    hi!

    is there any fix submitted for iPad?
  5. Dimo
    Admin
    Dimo avatar
    8331 posts

    Posted 13 Dec 2012 Link to this post

    Hi Igor,

    I am afraid we cannot offer any more information on the problem or its resolution at this point.

    Greetings,
    Dimo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  6. ScholarisPM
    ScholarisPM avatar
    11 posts
    Member since:
    Feb 2007

    Posted 14 May 2013 Link to this post

    Hi Guys,
    We have the same problem with the editor height on the iPad but setting the height style element does not actually work. Is there a work around for this variant

    How are you going with finding a more permanent solution for this issue

    Keep up the good work
    Thanks
    Craig
  7. Dimo
    Admin
    Dimo avatar
    8331 posts

    Posted 14 May 2013 Link to this post

    Hello,

    We are currently adding support for contentEditable <div> elements for the Editor, which should resolve the problem. The new feature is scheduled for Q2 2013.

    Regards,
    Dimo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top
Kendo UI is VS 2017 Ready