Friday, March 8, 2013

Editing XPage Rich Text on iPads

I was reviewing some IBM Connect slides while on vacation a couple weeks ago (how sick is that?) and came across an answer to a question many have been asking regarding the CKEditor functionality in IBM Notes and Domino 9 Social Edition.

The answer is that the CKEditor is/has been upgraded but it still is not going to work on iOS devices. (This may have changed since January.)

Yeah. That's a challenge.  In our XPage application, not supporting iPad rich text editing is just not an option.

In our application we dynamically use the Dojo RT Editor when the XPage is being accessed by an iPad.  The technique works quite well (and has for quite some time) for our purposes.

This code goes into the Dojo type property for a Rich Text Control:

   return "ibm.xsp.widget.layout.RichText";
   return null;