EditorSession

fun EditorSession(initialState: EditorState, onUpdate: (Transaction) -> Unit = {}): EditorSession

Create an EditorSession with the given initial state and optional update callback.