saver

fun saver(customSerializers: List<AttributeSerializer<*>> = emptyList()): Saver<RichTextState, Any>

Creates a Saver for RichTextState with custom attribute key support.

Parameters

customSerializers

List of AttributeSerializers to handle user-defined AttributeKeys.