While working on documentation in Confluence, I ran into an issue where embedded media (images and preview blocks) started duplicating inside rich text fields. This mainly happened when content was copied from one page to another or reused through templates.
At first, it looked like a rendering bug, but after some testing, I noticed the duplication occurred only when rich text blocks contained nested media embeds or were pasted from external editors.
What worked for me:
I stopped copying formatted content directly and instead used plain-text paste, then reinserted media manually. I also avoided nesting media inside expandable or reused sections. After applying this consistently, the duplication issue completely stopped.
I faced a similar content-handling scenario while maintaining documentation for an Android streaming project (YouCine), and the same structured approach—clean embeds and controlled formatting—helped keep content stable there as well.
Sharing this in case it helps others dealing with unexpected media duplication in Confluence rich text fields.