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;"