It’s a pre built widget because Microsoft wrote it for WordPad though.
Since there was now a RichText control that supported RTF in Windows, the Windows group could write a thin wrapper around the RichText control and replace Microsoft Write with Microsoft WordPad.
Support for Microsoft Word file formats came later once the Word group took over responsibility for the RichText control code.