getSelectionConfig function

SelectionConfig getSelectionConfig(
  1. EditorState state
)

Get the selection configuration from state.

Implementation

SelectionConfig getSelectionConfig(EditorState state) {
  return state.facet(selectionConfig);
}