The Editor component provides a resizing feature that you can enable by setting the
resizable prop. You can also allow the resizing of images by using the provided built-in plugin.
To enable the Editor resizing, set the
resizable prop to
true. To restrict the Editor width and height, set the desired
maxHeight values through Editor's
style prop. You can configure the resize direction through the Editor's
The following example shows how to enable and configure the resizing.
To enable the resizing of images, add the image resizing plugin to the plugins collection.