novdom/rich_text

An interface to the Quill rich text editor. See https://quilljs.com/ for more information.

Warning: This is still in development and should not be used yet.

Types

pub type Delta
pub type Format {
  Bold
  Italic
  Underline
}

Constructors

  • Bold
  • Italic
  • Underline
pub type Quill
pub opaque type RichTextStore

Functions

pub fn delta(store: RichTextStore) -> Delta
pub fn editor(store: RichTextStore) -> Component
pub fn format(store: RichTextStore, format: Format) -> Delta
pub fn store() -> RichTextStore
pub fn text(store: RichTextStore) -> String
Search Document