Rajesh_Tamilan

Q: Ibooks on Mac issue

Hi,

I've created a interactivity ePUB3 output. The contenteditable attributes has been used for the text field. Its working fine in IPAD ibooks not in mac ibooks.

 

<p contenteditable="true">&#160;</p>

 

The contenteditable attribute doesn't works in mac. please help me out of this issue.

iMac, OS X Yosemite (10.10.5)

Posted on Aug 21, 2015 4:02 AM

Close

Q: Ibooks on Mac issue

  • All replies
  • Helpful answers

  • by Rajesh_Tamilan,

    Rajesh_Tamilan Rajesh_Tamilan Aug 26, 2015 3:58 AM in response to Rajesh_Tamilan
    Level 1 (4 points)
    iBooks
    Aug 26, 2015 3:58 AM in response to Rajesh_Tamilan

    The below script will enable the content editable attribute in Mac systems. Tested, working fine.

     

    $(selector).observe('touchstart', function(event) {

        var element = event.element();

        if (element.disabled)

            element.disabled = false;

        element.focus();

        event.stop();

    });