-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with paste image to tekst in knowladge base #12482
Comments
A temporary workaround is If you paste the image, then right click it -> Image... -> Save it will save and display correctly. |
I looked into it and I think I understand what's going on. This affect all the Rich text input elements. Steps To reproduce
If you check the source of the image you will see something like this And in your browser console Basically when you upload an image to rich text GLPI seems to understand he has to send it to the server and link it in the rich text. But when an image is stored in the clipboard it fails to do so. Here's the case I noted with results (From what I understand) :
I hope it helps, feel free to message me for further investigation |
|
I know this is related to your chrome settings, but for example when you paste an image from your filesystem inside a rich text. GLPI takes care of sending it to the server. I would guess by creating an If you open the network tab while copy pasting an image in the Rich text you'll see that it makes some call to the server. |
Hi @PandaRoux8 , It should be fixed by #12862. |
Code of Conduct
Is there an existing issue for this?
Version
10.0.2
Bug description
When I write an article into the knowledge base and paste pictures into the text, only the picture icon appears as an object, but the picture is not displayed. It is listed in the documents tab as an attached file.There are no entries in the logs for this event, it looks as if the attached image file is not displayed at the place of pasting

Relevant log output
No response
Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
Information about system installation and configuration
Server
GLPI constants
Libraries
SQL replicas
Notifications
Plugins list
Anything else?
No response
The text was updated successfully, but these errors were encountered: