You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
how to export image(it's invalid when I imported by editorRef.current.activeEditor.commands.insertContent(<img src=${base64}>)) #790
In addition to the above described case, this also happens when pasting the image into the editor. The fundamental issue is that images that are inserted this way do not go through the media registration and verification process processUploadedImage. Just registering the image in the right place would be a relatively simple addition. However, the verification process also ensures things like maximum image size with a potential image resizing. This is an asynchronous process, which requires a bit more consideration in how it's implemented than the purely synchronous registration.
Activity
jelkes1 commentedon Aug 20, 2025
Thanks for flagging! @johanneswilm can you please take a look at this? Feel free to ask any follow-ups needed.
johanneswilm commentedon Aug 27, 2025
Confirmed.
In addition to the above described case, this also happens when pasting the image into the editor. The fundamental issue is that images that are inserted this way do not go through the media registration and verification process
processUploadedImage. Just registering the image in the right place would be a relatively simple addition. However, the verification process also ensures things like maximum image size with a potential image resizing. This is an asynchronous process, which requires a bit more consideration in how it's implemented than the purely synchronous registration.I'm on it.
rex-0085 commentedon Aug 28, 2025
thanks for your feedback.
Is there a temporary code method we can implement for now? users have already started using this application. thanks
@johanneswilm
johanneswilm commentedon Aug 28, 2025
I cannot really think of a simple way of doing this just with client side code.
I'll try to have a fix by tonight.
johanneswilm commentedon Aug 28, 2025
I've gotten quite far, but unfortunately not entirely there yet. I'll need to continue working on this tomorrow.
rex-0085 commentedon Aug 28, 2025
Got it, it's ok in about a week. thank you so much
feat: register images from paste + HTML insertion, fixes superdoc#790
harbournick commentedon Sep 23, 2025
🎉 This issue has been resolved in version 0.20.0-next.5 🎉
The release is available on:
Your semantic-release bot 📦🚀
feat: register images from paste + HTML insertion, fixes #790 (#1010)
feat: register images from paste + HTML insertion, fixes #790 (#1010)
harbournick commentedon Sep 24, 2025
🎉 This issue has been resolved in version 0.21.0-next.1 🎉
The release is available on:
v0.21.0-next.1Your semantic-release bot 📦🚀
chore(release): 0.21.0 [skip ci]
harbournick commentedon Sep 24, 2025
🎉 This issue has been resolved in version 0.21.0 🎉
The release is available on:
v0.21.0Your semantic-release bot 📦🚀
chore(release): 0.21.0 [skip ci]