Change width and height

This example shows how to enable the width and height settings to change the width or height of an image in an editing popup.

Code

<!-- element -->
<textarea id="entry">...</textarea>

<!-- call -->
<script>
let app = Redactor('#entry', {
    image: {
        width: true,
        height: true,
        upload: '/image-uploader-path/'
    }
});
</script>