Found bug on imageDefaultWidth in rich editor

I found a bug on richeditor, when is used configuration for defaultWidth.

    editorOptions:
        imageDefaultWidth: 0

when i tried to use percentage

    editorOptions:
        imageDefaultWidth: '100%'

rendered output was style="width: 100%px;"

This is mostly unsupported, a constraint on the size is required since images are pixel based and to prevent blurry images at very large screen sizes.

reasonable, but probably, when user is trying to change something, it may be allowed, when this option is strictly integer, then it may be validated, converted into integer not prints out invalid value. then, still it is bug. right?