2

I am having a sandwich of canvas and tinymce rich text editor. Now there are two modes, one is to draw on canvas and one is to write text on tinymce.

When on draw mode then canvas layer comes upwards and tinymce goes below this canvas layer and when on text mode vice-versa happens using z-index.

When I start typing on iPad with canvas layer below text layer it works fine until I move the cursor upwards by touching my iPad screen. As soon as I does that editor gets stuck and to make editor work again I have to hide my iPad browser's keypad and then touch again on editor.

There is one more thing that as soon as I remove canvas from html and there is only one single layer of tinymce then things works perfectly as expected however it works fine on normal pc browser without any issue.

I tried to debug and noticed z-index change as expected and when stuck our code does not even detect keypress events on tinyMCE with ipad.

Any idea what could be the possible reason or fix?

4

1 回答 1

0

我在 TinyMCE 网站上发现了这个错误报告: http ://www.tinymce.com/develop/bugtracker_view.php?id=5447

我按照线程中的建议更改了 tiny_mce_src.js 中的 defaultNativeHandler 代码,但它没有解决我看到的问题(使用 python-django 1.5.1b4)。

于 2013-02-08T22:30:11.570 回答