trema-tech / moodle-theme_trema

Theme trema, a Moodle LMS plugin.
https://moodle.org/plugins/theme_trema
GNU General Public License v3.0
39 stars 19 forks source link

Images pasted into the Trema Footer do not show up in the page footer #159

Closed michael-milette closed 7 months ago

michael-milette commented 1 year ago

If I copy and paste an image into the Trema settings defaultfooter field, the image does not show up in page footers.

This happens in Moodle 3.11 and 4.0 with the latest version of the theme available on GitHub.

michael-milette commented 1 year ago

Just wanted to confirm that this is still an issue in the latest version of Trema (Sept 8, 2023)

michael-milette commented 1 year ago

When I paste an image from the clipboard into the editor anywhere in Moodle, it inserts the following HTML:

<img src="http://localhost/moodle403/draftfile.php/5/user/draft/927975845/image.png">

However, when I insert it into the Trema Footer field, it inserts the following HTML:

<img src="blob:http://localhost/21474e1d-d37c-43c9-9783-a14253989590">
michael-milette commented 7 months ago

This issue will be resolved in the next major release of Trema. For now, feel free to try the experimental 'dev' branch which includes the fix for this issue.

Best regards,

Michael Milette