replaceWordInline (line, wordCursor, replacement, setCursor = false) {
    this.contentState.replaceWordInline(line, wordCursor, replacement, setCursor)
  }
Replace the word range with the given replacement.

@param {*} line A line block reference of the line that contains the word to
                replace - must be a valid reference!
@param {*} wordCursor The range of the word to replace (line: "abc >foo< abc"
                      whereas `>`/`<` is start and end of `wordCursor`). This
                      range is replaced by `replacement`.
@param {string} replacement The replacement.
@param {boolean} setCursor Shoud we update the editor cursor?