lexical-ui 0.1.3

A Rust port of Lexical's model and headless packages, at parity with the JS implementation.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! `@lexical/file` (the `file` feature), from `packages/lexical-file/src`:
//! the `.lexical` document format ([`serialized_document_from_editor_state`],
//! [`editor_state_from_serialized_document`]) and importing and exporting
//! files ([`import_file`], [`export_file`]), where the app picks and saves
//! the file, as upstream's DOM file input and download link do.

mod file_import_export;

pub use file_import_export::{
    ExportFileConfig, MaybeStringifiedDocument, ReadTextFileCallback, SerializedDocument,
    SerializedDocumentConfig, editor_state_from_serialized_document, export_file, import_file,
    serialized_document_from_editor_state,
};