jodit icon indicating copy to clipboard operation
jodit copied to clipboard

Image insertion

Open thealexparshin opened this issue 2 years ago • 1 comments

Jodit Version: Jodit Pro 1.3.8

Browser: Chrome OS: linux Is React App: True Code

When used in production application, an attempt to insert an image using toolbar button produced BLOB img node:

src="blob:http://localhost:3000/86b2657a-c890-4f50-ac58-04efb51368ea"

When used in a test application, it produces img node with Base64 data.

Expected behavior: Insert node with src containing base64 data.

Actual behavior: Inserts node with src containing BLOB data.

thealexparshin avatar Jun 25 '22 07:06 thealexparshin

Try imageProcessor: { replaceDataURIToBlobIdInView: false } in your config object.

redking00 avatar Aug 11 '22 16:08 redking00