thorsten / phpMyFAQ

phpMyFAQ - Open Source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases
https://www.phpmyfaq.de
Mozilla Public License 2.0
584 stars 254 forks source link

Paste images from office documents not working. #2639

Closed korio77 closed 1 year ago

korio77 commented 1 year ago

Describe the bug When you try to copy paste and image from an .docx file (new word files) it doesnt work.

To Reproduce Take an image/s or a text+image/s from a .docx file, copy and paste them to the WYSIWYG editor, if it has a text, only the text is pasted with no images.

Expected behavior It should paste the images too

Screenshots Here is a screenshot of the error shown in chrome each time you try to paste images copied from a docx file image

Tried to paste images from doc old files and from ppt and same error.

If the image is for example created using shift+windows+s shortcut to create a screenshot, it pastes fine on the editor.

phpMyFAQ (please complete the following information):

Desktop (please complete the following information):

thorsten commented 1 year ago

Could you please update to the latest version?

korio77 commented 1 year ago

I tried updating previously and it wasnt working, tried installing from scratch 3.2 and the same error.

https://forum.phpmyfaq.de/viewtopic.php?f=3&t=43415

That same error even on the main page.

thorsten commented 1 year ago

Fixed for v3.2.1! Thanks for reporting this issue!