Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-23332

Pasting Confluence content in editor should copy embedded images to destination page

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      The behaviour of images on a page is not what a user would expect after the content is pasted from another page. This can cause confusion, for example, when using a restricted page to make a draft, then copying that content into a new page/blog post.

      To reproduce:

      1. Create Page A with attached images which are displayed on the page
      2. Restrict Page A so that only the current user can view it
      3. Create Page B which is public
      4. Copy and paste the content of Page A into Page B, and save
      5. For the current user, Page B will look as expected, but for any other user the images will appear to be broken
      6. Delete Page A, and then the images on Page B will be broken for all users

            [CONFSERVER-23332] Pasting Confluence content in editor should copy embedded images to destination page

            patrijst There wasn't so i created this ticket for you to vote on https://jira.atlassian.com/browse/CONF-43522.
            Feel free to explain your use case for having confluence upload the image instead of referencing the source. Thanks!

            Alice Wang (Inactive) added a comment - patrijst There wasn't so i created this ticket for you to vote on https://jira.atlassian.com/browse/CONF-43522 . Feel free to explain your use case for having confluence upload the image instead of referencing the source. Thanks!

            Thanks, is there an issue I can vote for that would upload copied web images?

            Patrick van der Rijst added a comment - Thanks, is there an issue I can vote for that would upload copied web images?

            patrijst This issue was addressed for copying images within the same confluence instance. When you paste across instances, that will be the same behaviour as if it was a web image link because thats what it is.

            Alice Wang (Inactive) added a comment - patrijst This issue was addressed for copying images within the same confluence instance. When you paste across instances, that will be the same behaviour as if it was a web image link because thats what it is.

            This doesn't seem fixed.. pasting Confluence content from one instance (different) to another (5.10 to 5.9) will add the images as a referal to the other instance instead of upoading it as new images.

            Patrick van der Rijst added a comment - This doesn't seem fixed.. pasting Confluence content from one instance (different) to another (5.10 to 5.9) will add the images as a referal to the other instance instead of upoading it as new images.

            Today i run into this problem. Hope this will fixed in the near future.

            Tim Eddelbüttel added a comment - Today i run into this problem. Hope this will fixed in the near future.

            Hi guys!

            I am not an IT expert, hence I do have some queries regarding the busted stuff report:
            I have now downloaded python 2.7.3 - but I have no clue how to run the busted stuff report. is there a documentation somewhere around where I can read what needs to be done step-by-step?

            thanks a lot!

            christian

            Christian Neureiter added a comment - Hi guys! I am not an IT expert, hence I do have some queries regarding the busted stuff report: I have now downloaded python 2.7.3 - but I have no clue how to run the busted stuff report. is there a documentation somewhere around where I can read what needs to be done step-by-step? thanks a lot! christian

            SarahA added a comment -

            SarahA added a comment -

            Hi Sarah,

            Thanks for the tip, especially about using the Source Editor plugin. I have been annoyed by the problems that can occur when you copy a page containing images, when those images are actually attached to, well, who knows where?

            Now that Confluence is moving/has moved to the Rich Text editor and XML I think I'll be using the Source Editor plugin more often. In other words, the more confluence makes things easier for some users, it's nice to have a way to easily look under the hood when we want to.

            Robie

            Robert Remple added a comment - Hi Sarah, Thanks for the tip, especially about using the Source Editor plugin. I have been annoyed by the problems that can occur when you copy a page containing images, when those images are actually attached to, well, who knows where? Now that Confluence is moving/has moved to the Rich Text editor and XML I think I'll be using the Source Editor plugin more often. In other words, the more confluence makes things easier for some users, it's nice to have a way to easily look under the hood when we want to. Robie

            SarahA added a comment -

            Hallo Christian

            In answer to your question about identifying affected pages: You can use the "Busted Stuff Report" created by Ed Dawson:

            To prevent the problem from recurring, you can use the Source Editor plugin. It pops up a source window in the editor that shows the XML source (storage format) of the page. If you copy the storage format rather than the rich text, all your images will remain relative. So will your links – this may be important to you too.
            https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor

            If you and all editors have admin rights on your Confluence site, you can do that without the Source Editor plugin. Admins can see a "View Storage Format" option in the "Tools" menu.

            You'll still need to re-attach all your images to the new page. But at least they won't be misleadingly there and referring back to the original page.

            Cheers
            Sarah

            SarahA added a comment - Hallo Christian In answer to your question about identifying affected pages: You can use the "Busted Stuff Report" created by Ed Dawson: http://blogs.atlassian.com/2011/12/scanning-confluence-for-content-errors/ https://bitbucket.org/edawson/busted-stuff-report To prevent the problem from recurring, you can use the Source Editor plugin. It pops up a source window in the editor that shows the XML source (storage format) of the page. If you copy the storage format rather than the rich text, all your images will remain relative. So will your links – this may be important to you too. https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor If you and all editors have admin rights on your Confluence site, you can do that without the Source Editor plugin. Admins can see a "View Storage Format" option in the "Tools" menu. You'll still need to re-attach all your images to the new page. But at least they won't be misleadingly there and referring back to the original page. Cheers Sarah

            Is there a way to identify the affected pages?

            Christian Neureiter added a comment - Is there a way to identify the affected pages?

              alwang Alice Wang (Inactive)
              ggaskell Giles Gaskell [Atlassian]
              Votes:
              19 Vote for this issue
              Watchers:
              34 Start watching this issue

                Created:
                Updated:
                Resolved: