create
fun create(doc: String, extensions: Extension? = null, selection: SelectionSpec? = null): EditorState
Create a new state with a string document and optional extensions.
Create a new state.
Create a new state with a string document and optional extensions.
Create a new state.