xdan / jodit

Jodit - Best WYSIWYG Editor for You
https://xdsoft.net/jodit/
MIT License
1.71k stars 354 forks source link

Images aren't render correctly when pasting text with images #1164

Open NatalGi opened 3 months ago

NatalGi commented 3 months ago

Jodit Version: 4.2.27

Browser: Chrome/Edge/FF OS: Windows Is React App: True Reproduced on xdsoft.net: True Lorem ipsum dolor sit amet.docx

Expected behavior: Images render correctly when pasting text with images.

Actual behavior: [The issue is reproducible on xdsoft.net with standard Jodit Playground settings]

I have a Word document that contains text and images. When I copy the image itself and paste it to the Jodit editor, everyting works fine, the image is converted to blob/base64 [according to the settings] and rendered correctly [screen 1]. However, when I copy and paste text with images, the images don't render correctly because they aren't converted to blob / base64 format, and in the code preview I can see that their absolute paths from local machine are given [screen 2].

01 02

devkorn commented 1 month ago

I have the same thing, waiting for a quick fix