-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
1
-
1
-
In relation with
https://confluence.atlassian.com/confcloud/display-files-and-images-724765104.html
We have a problem in our organization in which people make how-to articles pasting images from the web browser (e.g. the webmail).
Those images get treated as 'Images from the web'. Then those images expire and become broken links.
We would like one (or all) of the following:
A) Have Confluence import and automatically convert images from the web to attached images.
B) Disable images from the web to our users
C) Warn the user when pasting images
Workaround
A workaround has been developed for Confluence 9.2 through inserting the following script in Confluence Admin > Custom HTML > "At end of the HEAD".
The script will prevent most external image clipboards from being inserted, but it's not a definitive solution. Please review and test the script in a staging instance before applying it to production.
NOTE: this solution is not supported by Atlassian and provided AS-IS to be evaluated and adjusted at the discretion of Confluence Admins.
This function will execute uninterruptedly trying to locate and add listeners to "wysiwygTextarea_ifr > tinymce".
Read this article to understand the caveats and things you should mind, like testing this before EVERY UPGRADE:
https://support.atlassian.com/jira/kb/how-to-customize-jira-with-javascript-and-css/
Admins should reach out to the Community in case they need help editing or fixing this, as this is provided AS-IS.
Workaround
A workaround has been developed for Confluence 9.2 through inserting the following script in Confluence Admin > Custom HTML > "At end of the HEAD".
webimagesworkaround.txt
The script will prevent most external image clipboards from being inserted, but it's not a definitive solution. Please review and test the script in a staging instance before applying it to production.
NOTE: this solution is not supported by Atlassian and provided AS-IS to be evaluated and adjusted at the discretion of Confluence Admins.
This function will execute uninterruptedly trying to locate and add listeners to "wysiwygTextarea_ifr > tinymce".
Read this article to understand the caveats and things you should mind, like testing this before EVERY UPGRADE:
https://support.atlassian.com/jira/kb/how-to-customize-jira-with-javascript-and-css/
Admins should reach out to the Community in case they need help editing or fixing this, as this is provided AS-IS.