Resizing
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.
Editor Resizing
To enable the Editor resizing, set the resizable
prop to true
. To restrict the Editor width and height, set the desired minWidth
, minHeight
, maxWidth
, and maxHeight
values through Editor's style
prop. You can configure the resize direction through the Editor's resize
style
prop.
The following example shows how to enable and configure the resizing.
Images Resizing
To enable the resizing of images, add the image resizing plugin to the plugins collection.