XWIKI-10478: Implement the preview mode in Flamingo.