Question

I am using FCKEditor with desktop. And we have modified FCKEditor with specific requirements. Like rightclick on that FCKEditor will popup certain page and then selecting some text on that pop up page will be replaced that text on FCKEditor.

But now we need to make sure same functionality should work on our iPad.

I tried with various ways but not at all working. Do any one known anything regarding this?

Was it helpful?

Solution

RightClick is not possible on ipad. So need to fire any ipad event instead of rightclick event(contextmenu). i have done it using gesturechange event of ipad it is working fine as well on ipad with same functionality of desktop.

For that you need to change in java-script file of fck-editor is fckeditorcode_gecko.js And first you need to add Event Listener to editor like

this._Document.addEventListener('gesturechange', FCKContextMenu_Document_OnContextMenu, false);

try it it will work, let me know in case of any query

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top