我在Rails应用程序中安装了Action文本(Trix编辑器)。
编写内容后,将与html标记一起生成内容。例如
"div class="trix-content"> div> This is the content part. br>br> /div>
有一个内置的功能:
content.to_plain_text