getSearchQuery

Get the current search query from an editor state.