On Microsoft Windows and Cocoa, rich-text-pane allows you to display and edit rich text. It supports character attributes such as font, size and color, and paragraph attributes such as alignment and tab-stops.
(example-edit-file "capi/applications/rich-text-editor")
CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017