howdy/ui/rich_text/script

The browser code for howdy/ui/rich_text: ProseMirror and the editor built on it, bundled into this package’s priv/rich_text.js, and the controller that serves it. A copy of the editor made with gleam run -m howdy/ui add rich_text still loads this code, so it stays in howdy_ui.

Values

pub fn controller() -> controller.Builder(Nil)

The controller serving the code under /_howdy/rich-text, as ui.rich_text().

pub fn url() -> String

Where the browser loads the editor from. The name changes whenever the code does, so it is cached for good.

✨ Search Document