Bug description
Related to #226, will also be handled with PR: #227
Embedded images (starting with "data:image") are not displayed in RTE.
Steps to reproduce
To reproduce the problem:
copy-paste an image into RTE (e.g. create in Gimp, select all, copy). Result: Image is displayed in RTE
save
check if image is displayed in RTE: it is not
The reason is not the saving to DB but the loading from DB. (You can cross check the DB entry).
Expected behavior
If the embedding of images is not prevented entirely (by some other measure), the image should be displayed. Right now, the behaviour when using rte_ckeditor_image is inconsistent. The image is saved to DB, but is not rendered correctly (see #226) and is not displayed in RTE (see this issue)
Bug description Related to #226, will also be handled with PR: #227
Embedded images (starting with "data:image") are not displayed in RTE.
Steps to reproduce To reproduce the problem:
The reason is not the saving to DB but the loading from DB. (You can cross check the DB entry).
Expected behavior
If the embedding of images is not prevented entirely (by some other measure), the image should be displayed. Right now, the behaviour when using rte_ckeditor_image is inconsistent. The image is saved to DB, but is not rendered correctly (see #226) and is not displayed in RTE (see this issue)
Screenshots or logs
After copy-pasting:
After saving:
Code
Netresearch\RteCKEditorImage\Database\RteImagesDbHook::transformTextForRichTextEditor
Environment
Documentation Have you checked the readme/documentation?
Core behaviour
I tested the behaviour with only the core (v11): Here, the image is removed on save
Additional information