Some textarea examples
Basic
Markdown input
Yeah, everything one could ever dream of!
Html based
You can input markdown or html (start with < to indicate html) for styling the text.
Pure html input
Yeah, everything one could ever dream of!
This also allows for including videos, imgs etc:
Allow toggling back and forth
Markdown input
Yeah, everything one could ever dream of!
Note that the allowFilteredHtml
must be set for the html to be parsed.
The filtered output from the html
Pure output from
FormattedText.filterXss
<h3>Pure html input</h3>
<p>Yeah, everything one could ever dream of!</p>
<p>This also allows for including videos, imgs etc:</p>
<img src="https://openclipart.org/download/174860/bookworm-penguin.svg" width="300px" />
The FormattedText component
Pure html input
Yeah, everything one could ever dream of!
This also allows for including videos, imgs etc:
The FormattedText component without allowFilteredHtml
Markdown input
Yeah, everything one could ever dream of!