Created attachment 205348 [details] Current situation, where in every URL is that addition from AI, which is needed to remove (usually). This dialog opens with CTRL+K on hyperlink to edit it. First issue with ChatGPT. Whenever to copy text with URLs from ChatGPT, there will be added to every URL appendix "?utm_source=chatgpt.com". Hereby propose to add functionality to remove in whole document that appendix from all URLs. Ideas to solve: - in settings to remove automatically (can be turned on/off) - in UI e.g. toolbar button + menu item - in Search and Replace dialog - Paste Special (CTRL+SHIFT+V) - without AI additions could be one choice (also configure options for that) Also would be good to allow to configure, will be searched to remove as this might be changed in future and not be, like current "?utm_source=chatgpt.com" but it could be any other combination of text. Also other AI text might contain any other appendix in URLs - therefore would be appreciated to allow define multiple items, what to search and what to do - remove or replace with certain text.
Basically, in short: paste from AI without additions in URLs
Wouldn't this be better solved by a browser extension or user script? LibreOffice injecting itself into this process would happen at the wrong point.
But we are using LibreOffice Writer as text editor. Then we should use some other text editor - then people do not use LibreOffice as they need to copy text from AI without complexity. We are copying directly and editing it with something is very tricky as formatting goes lost then.
There is an existing report about finding & replacing within link URLs: bug 58096 I would prefer to go with that solution. Intercepting pastes would affect performance.
Dislike the idea to fiddle around with pasted URLs. I use to remove ?System=UNIX&DbPAR=WRITER&HID=SW_HID_EDIT_WIN#bm_id3147244 from links to our own help page just to shorten the link. Should we also drop this? Or something like https://www.google.com/search?q=libreoffice&sca_esv=e2532f7e453b1d7f&source=hp&ei=qhuDaev9NYLIi-gPuob46AE&iflsig=AFdpzrgAAAAAaYMpuhcsgeKJqO0bxSQZq2XZ0ysIrS12&ved=0ahUKEwjr-rDnzL-SAxUC5AIHHToDHh0Q4dUDCCg&uact=5&oq=libreoffice&gs_lp=Egdnd3Mtd2l6IgtsaWJyZW9mZmljZTIFEAAYgAQyBRAAGIAEMgUQABiABDIFEAAYgAQyBRAAGIAEMgUQABiABDIFEAAYgAQyBRAAGIAEMgUQABiABDIFEAAYgARI0QxQAFjlC3AAeACQAQCYAU6gAdgEqgECMTG4AQPIAQD4AQGYAgugAvgEwgILEC4YgAQY0QMYxwHCAgUQLhiABMICCBAAGIAEGMkDwgILEAAYgAQYkgMYigWYAwCSBwIxMaAHxk2yBwIxMbgH-ATCBwUwLjcuNMgHF4AIAA&sclient=gws-wiz If we had a general rule like "[ ] Remove query string" under the URL, maybe. But not limited to a particular page.