]> git.koha-community.org Git - koha.git/commit
Bug 31558: Fix image drag and drop in TinyMCE
authorFridolin Somers <fridolin.somers@biblibre.com>
Tue, 13 Sep 2022 20:27:39 +0000 (10:27 -1000)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Mon, 14 Nov 2022 16:04:00 +0000 (17:04 +0100)
commitee132c08083aecd8842cab60921a5cfb012f19cf
tree1d12259ea3fdc3d8f4330b9313570251bd3886c5
parentdc92b692e2704c64d1700e7c4fcbf667f6b1402e
Bug 31558: Fix image drag and drop in TinyMCE

Bug 26949 upgraded JS lib TinyMCE to 5.9.2

This version has a known issue on images drag and drop :
https://stackoverflow.com/questions/64782955/tinymce-inline-drag-and-drop-image-upload-not-working

Test plan :
1) Go to Tools > HTML customizations
2) Create a new entry (not using text editor)
3) Drag and drop an image
=> Without patch you see an error message from TinyMCE 'Dropped file type is not supported'
=> With patch : It works !

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit d0f09eaa6412eb83ebe7e17faa550628fa7e6cab)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 278cd8b827f13a68f3375f828483d40d5eaa7b31)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt