netresearch / t3x-rte_ckeditor_image

Image support in CKEditor for the TYPO3 ecosystem
GNU Affero General Public License v3.0
56 stars 65 forks source link

Correctly handle embedded images (data:image) #227

Closed sypets closed 1 year ago

sypets commented 1 year ago

Handles 2 related problems:

  1. If images contain an embedded image (beginning with data:image) and not a path, a slash should not be prepended. Otherwise this breaks the rendering.
  2. Do not prepend the site URL to embedded image in RTE pre-processing hook (when loading from DB to RTE)

Resolves: #226 Resolves: #228