We needed to edit data in a varchar(max) field. The data is HTML formatted text that we use to email cybersecurity notifications to staff on a schedule (using a different tool). Being able to make quick updates in a WYSIWYG editor was super convenient. We used the below JS to do it. Added it to the Prompt field off a button. We figured out how to use the built in RTE js library using the following code.
<a href="javascript: $('.RTE_btn').last().hide(); $('.TextEntry').last().cleditor();" class=" RTE_btn">Enable Richtext</a>
{%FormFields%}