getDelta method is used to get the delta map from editor
Future<Map> getDelta() async { var text = await _editorKey?.currentState?._getDeltaFromEditor(); return jsonDecode(text.toString()); }