add support for a rich text inline mode