Genii Weblog

Quick quiz - no peeking

Thu 17 Feb 2011, 12:37 PM



by Ben Langhinrichs
In Notes/Domino 8.5.2, what are the choices given in the dropdown list for rendering your rich text field on the web (no XPages, just regular database)?  What does each do in Internet Explorer 8 and in Firefox.

No peeking, trying it out or looking at other people's comments.  I'm just curious what level of awareness there is.

Copyright © 2011 Genii Software Ltd.

What has been said:


980.1. Erik Brooks
(02/17/2011 06:36 PM)

I'll take a stab...

HTML (textarea box in both)

Java applet (applet in both, but not FF on the Mac unless you modify your browser.cnf file on the server... or maybe that was Safari?)

Dojo Editor (this might be named "Javascript editor" or something if I recall... generally works, though I think there is a bug with SSL in IE that wasn't fixed until after 8.5.2)

Is CKEditor available for forms in 8.5.2? I can't recall off the top of my head.


980.2. Ben Langhinrichs
(02/17/2011 08:58 PM)

Erik - That's pretty good. Congratulations, especially as the only person to even attempt an answer.

HTML (textarea box in both)

Best Fit for OS (you missed this - uses IE edit control for IE, textarea for FF)

Java applet (applet in both - not sure about Mac)

JavaScript Control (Dojo dijit.Editor in both)

And, of course, CKEditor with XPages, which makes a grand total of five different editing experiences for rich text, with four different "standard" toolbars, some generating MIME, some plain text. As far as I know, there is no standard way to invoke the CKEditor from a non-XPages environment, but it is fairly easy to use it with some passthru computed text stuff.

As a follow up, setting the the rendering does not check the Storage: Store contents as HTML and MIME (second tab for field info). So, the follow up question is: should you set it yourself when using these different editors?


980.3. Andrew Pollack
(02/18/2011 03:11 AM)

Render as HTML or Render as a Java Applet. Both suck. I hide the field and create an html string with the same name, the reference ckeditor to that field. It makes me much happier.

Next step is a default jquery script (kind of like a default base.css) that will just seek and find any Domino rich text fields and replace them with ckedit.


980.4. Ben Langhinrichs
(02/18/2011 03:15 AM)

@Andrew - More or less what I do as well, but it seems awfully obnoxious to have CKEditor there and foist this stuff on people. Beyond anything else, why can't "Best Fit for OS" simply use CKeditor? It's always been so awful that backwards compatibility can't be a good reason.