The OpenNTF.org XPages Rich Text Editor Evolution project contains a sample application that evolves the Rich Text Editor control to provide custom inline attachment handling directly within the editor complete with a new embedded image handling user experience with new toolbar actions and dialog experiences.

 

It demonstrates advanced scripting and component extension mechanisms that can be leveraged by XPages developers to adapt or create controls to cater for their own specific custom application development requirements.