Can I get the content plain text? I want to save 2 versions of the written content, one formatted as it is today and another plain text (to make text actions on it like text extraction, language identification and more)
Current saved text is: "
And I want to save also the plain text version:
Hello world
Content
List one
List two
Is it possible?
Yes, you can convert the Trix.Document to a string with: element.editor.getDocument().toString()

Yes, you can convert the
Trix.Documentto a string with:element.editor.getDocument().toString()
Where to edit this changes?
Most helpful comment
Yes, you can convert the
Trix.Documentto a string with:element.editor.getDocument().toString()