github xdan/jodit 4.13.22

4 hours ago

🐛 Bug Fix

  • Image processor: an image with a percent-encoded data URI (<img src="data:image/svg+xml,%3Csvg...">) made dataURItoBlob call atob on a payload that is not base64, so the editor threw InvalidCharacterError out of the change handler — on every change while such an image was in the content. Percent-encoded payloads are now decoded as well, and a data URI that still cannot be decoded leaves the image untouched instead of breaking the editor. The plugin's private copy of the helper is gone; both paths share modules/uploader/helpers/data-uri-to-blob.

Don't miss a new jodit release

NewReleases is sending notifications on new releases.