XWIKI-10478: Implement the preview mode in Flamingo.

* Remove useless class.