Images can be uploaded in the WYSIWYG editor. These are initially inline in the source code and are then replaced by "short" references.
This does not happen under the following circumstances:
- Insertion of a text.
- Upload of an image.
- No further change or even clicking in the WYSIWYG editor.
- Saving the change.
In this case the orignal image is still in the source code.
The tl:StructuredTextControl reacts to the upload and sends a response; however, this response is apparently not imported on the client.
Tested in FF 96.0.3.
Normally the client listens to every change event and prepares it to save the latest changes when saving. When uploading the image, a change event is generated, but first only with the original image. After the successful upload of the image, the URL of the image also changes in the editor, but the editor does not fire a change event.
After uploading an image, a change event is fired manually.
Upload an image to the editor and save it immediately without any further changes. The image must be uploaded and saved correctly, i.e. it must not be semi-transparent and the URL must not be base64.