editorState
Create an EditorState using a DSL builder.
val state = editorState {
doc("Hello, world!")
selection(5)
extensions {
+lineNumbers
+history()
}
}Content copied to clipboard
Create an EditorState using a DSL builder.
val state = editorState {
doc("Hello, world!")
selection(5)
extensions {
+lineNumbers
+history()
}
}