Describe the bug
If I copy an image from my gallery or from the browser and paste it into the editor, onChangeHtml returns the following:
{
"target": 11522,
"value": "<html> null </html>"
}
To Reproduce
Steps to reproduce the behavior:
- Copy an image on your phone
- Focus the rich text editor
- Paste the image
- See "null" text in the editor
Expected behaviour
I would expect null not to be in the editor text.
Ideally, there would be a separate onImagePasted callback. Or onChangeHtml could return the image path.
Screenshots

Device (please complete the following information):
- Device: Pixel 6
- OS: Android
- Version 15
Additional context
Pasting an image does nothing on iOS. It would be nice to have a way to handle pasted content more robust.
Describe the bug
If I copy an image from my gallery or from the browser and paste it into the editor, onChangeHtml returns the following:
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
I would expect null not to be in the editor text.
Ideally, there would be a separate onImagePasted callback. Or onChangeHtml could return the image path.
Screenshots

Device (please complete the following information):
Additional context
Pasting an image does nothing on iOS. It would be nice to have a way to handle pasted content more robust.