recalculateContentHeight method

Future<void> recalculateContentHeight()

Recalculates the height of the editor to remove any vertical scrolling. This method will not do anything if autoAdjustHeight is turned off.

Implementation

Future<void> recalculateContentHeight() async {
  await evaluateJavascript(data: {
    'type': 'toIframe: getHeight',
  });
}