How to easily hide an XPages CKEditor toolbar

Today’s random requirement was to be able to provide a Rich Text field without the user realizing that it was. The requirement derived from modernizing an existing application and the need to retain field type for notes client users more than web users.

So I did I quick google and did what every good developer did – stole the idea – in this case directly from Jesse

I was able to hide the toolbar on the CKEditor by making a new toolbar which was completely empty.

<xp:inputRichText id="editor1">
        <xp:attr name="toolbar">
        	<xp:this.value><![CDATA[ [ ] ]]></xp:this.value>