d-with-enhanced-rich-text">Add a Multi-line Text Field with Enhanced Rich Text<a class="headerlink" href="#add-a-multi-line-text-field-with-enhanced-rich-text" title="Permanent link">&para;</a></h3>
<p>The REST endpoint doesn't support setting the <code>RichTextMode</code> field therefore you will need to revert to Xml to create the field. The following is an example that will create a multi-line text field in Enhanced Rich Text mode.</p>
<pre><code class="language-TypeScript">import { spfi } from &quot;@pn