Skip to main content

from_html

Function from_html 

Source
pub fn from_html(html: &str) -> Document
Available on crate feature rich-text-editor only.
Expand description

Reads HTML into a document. Unknown elements keep their text, and nested lists are flattened.