replaceText method

Future replaceText(
  1. String text
)

replaceText method is used to replace the selected text in the editor custom format for replaced text will come in future release

Implementation

Future replaceText(String text) async {
  return await _editorKey?.currentState?._replaceText(text);
}