Generate EditorState from a string

I found the function that does this. It was right in front of my face!

Found through How to set new doc content - #2 by fkling

EditorState.create({
  doc: 'my new content', 
  extensions: [sql({upperCaseKeywords: true})]
})