-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
[Feature] Export to image icons that were in the bottom right corner to be brought back… #1156
Comments
I concur. For some reason, the export buttons have disappeared. I use them quite often (especially the export to Markdown button) and they disappeared recently, although I have not updated the export.js file. I suspect it may be a conflict with the new Custom GPT additions to the ChatGPT UI, but I'm not sure. At any rate, if someone knows how to fix the export.js file to bring back the icons or — even better—how to add it to the top menu and use a keyboard shortcut to do the export, that would be great! |
!!This should be labelled as a bug rather than feature as it already exists!! Facing the same issue all the export buttons are missing on my install of windows 11 (via winget) latest 1.1.0 version. Using on windows 11 (installed with winget) |
After doing a bit of debugging with ChatGPT, I think I found the problem. In export.js, it's looking for a specific element on the webpage and that element seems to no longer be there. I suspect it was changed in the GPT release after Nov 6. If someone know enough about CSS and Javascript, this seems to be the problematic code in the btnInit() function: const navActionArea = document.querySelector('nav .border-t > div'); This element doesn't seem to exist anymore in the interface so nothing happens. If someone know which element replaced it, it should be possible to change the query and the buttons will be able to be added just abov the profile menu button. |
So if you change the line above to:
The buttons reappear. However, they are stacked vertically. If someone can explain how to make them align horizontally, that would take care of the problem... for now! Of courset, the ideal wuould be to add the export veature as a menu option with a keyboard shortcut but I don't know whow to do that. |
I found it, with the help of chatGPT. So if you modify the beginning of the btnInit() funtion to look like this, the code should work (lines 209-225):
|
this works! you should put in a pull request to update the main fork! |
Hmm, I've nver done that. I'll take a look and see |
hello , I had changed the code in export.js from 209-225 just like this , after restarting GPT client , there is nothing changed . I'm a little confused how u work with the tab of full I think the error was caused by the wrong tab after I changed code. It looks like this:
|
I had trouble deciphering a fix above but here's what worked for me (for anyone needing a bandaid/fix until this is fixed in the main app):
NOTE: PDF seems a bit wonky (idk if that's my chatgpt log or the pdf functions are broken) but Markdown at least works. |
this seems doesn't work for me... so sad |
@CMakey You're right, the tabs were not aligned properly in my original post. All of the tabs should be converted to two spaces. Here is the correct fix, I hope:
@cemerson I tried your code but the icons disappeared in my version of the app. Not sure why. |
No @cemerson neither @lduperval solution works for me. Both solutions provide the buttons on top but they trigger an error message in console log (I used markdown export button):
|
@Tritaya the new versions of ChatGPT broke the code |
Feature description
These options were located in the bottom left corner. Right now I can only share with the link (top right).
Motivation
To have the functionality that previously existed.
Alternatives
Sharing to access the chat from a link and later trying to save it as PDF but it doesn't save the whole chat, just on the screen so less than one page.
Alternatively there could be an Export option in the menu up top.
Additional context
No response
The text was updated successfully, but these errors were encountered: