惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Know Your Adversary
Know Your Adversary
阮一峰的网络日志
阮一峰的网络日志
V
Visual Studio Blog
H
Help Net Security
博客园 - Franky
博客园_首页
博客园 - 【当耐特】
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
腾讯CDC
人人都是产品经理
人人都是产品经理
T
Tailwind CSS Blog
博客园 - 三生石上(FineUI控件)
爱范儿
爱范儿
博客园 - 聂微东
小众软件
小众软件
宝玉的分享
宝玉的分享
美团技术团队
WordPress大学
WordPress大学
L
LINUX DO - 热门话题
S
Secure Thoughts
IT之家
IT之家
博客园 - 叶小钗
Apple Machine Learning Research
Apple Machine Learning Research
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
有赞技术团队
有赞技术团队
V
V2EX
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Cloudflare Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
量子位
G
GRAHAM CLULEY
Attack and Defense Labs
Attack and Defense Labs
Jina AI
Jina AI
罗磊的独立博客
Security Archives - TechRepublic
Security Archives - TechRepublic
W
WeLiveSecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Tenable Blog
L
Lohrmann on Cybersecurity
S
SegmentFault 最新的问题
J
Java Code Geeks
Last Week in AI
Last Week in AI
Cyberwarzone
Cyberwarzone
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
大猫的无限游戏
大猫的无限游戏
T
Tor Project blog
酷 壳 – CoolShell
酷 壳 – CoolShell
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
H
Heimdal Security Blog

Discourse Meta - Latest posts

Horizon: High Context Topic Cards I'd like to ask what this file /var/www/discourse/vendor/data/RT_sRGB.icm is used for? Discourse to Markdown Plugin How to verify a subdomain (mysite.discourse.group) in Google Search Console? Reader Mode Publishing WordPress gallery posts on Discourse Discourse User Feedback New user filter by custom field and contact Interact with discourse from Python? Why we can't type the assignee in the search of a post to assign - home screen app Redis Flushall Category-toggled one-touch move post Some sort of variable to eliminate duplicate text? Why did this plugin replacement fail? Add user to list modal often appears above the mobile viewport sceen Creating/Editing a post on mobile: let's discuss the 2026 Discourse experience Wp-discourse feature request - do not show comments with specific tag? Are there any good Chinese plugins? Discourse ID and 2FA Discourse MCP is here! Sample Forum to See Admin Features? I am unable to register for a free Discourse site Wikipedia Lookup Add text for /login (like js.create_account.disclaimer for /signup) How can i set disable Markdown & Default to Rich Text What's the background image size for the Welcome Banner? How do I enable Associated Accounts with 2FA? Hamburger toggle Support <span data-attribute> in the rich editor Cannot disable read-only mode on Free Plan Coping with deprecated columns in Data Explorer Seeking advice on MaxMind error log issues Site setting menu limited by results page size Change default landing page for Groups (Members → Activity/Messages?) Email Notifications for Forum Posts or Replies Buffer -- streamline sharing topics on social media Moving a post between topics does not load the post on existing clients Diff is too complex to display Side bar footer container background color bug visible in RTL Vote display dimensions issue on the new foundation theme Icon is incredibly large when quoted Easily create Ideas categories using the Topic Voting plugin Modernizing the Foundation theme 429 error after Split Posts Error when switching locale: "topic doesn't exist" message appears on all topics Group Review Queue Items SSO Provider URL contains symbol # cause issue Migrate from wpForo to Discourse Users are unable to see invite details Disable initial page that re-directs to /login Discourse Livestream Discourse Dynamic Sidebar Icon Unable to save category settings made by plugins Post not being detected as German Misleading free plan shutdown timeline New posts/replies do not appear in real-time; manual refresh required Do Free forums not support the use of tags? Left side hamburger menu on mobile Inconsistent permission to use the same tag in the same category /upcoming-events intermittent drop on 2GB vRAM server 2 emails rejected by 2026.4.0-latest ( 5f0d95e1f1 ) Backups page Don't remove all push subscriptions on logoff Translated text on Linux Debian has weird formatting Remote images are always downloaded Can no longer create global banners from restricted categories Where did the you are replying to an old topic warning go? FKB Pro - Social theme Chat link missing in post event widget after to Rollup Whisper Warning Experiment: Collaborative content gardening hub for meta Topic Template Placeholder Text theme component Embedded comments dates are still not localized ProxyTracer: VPN & Proxy Blocker Automatically apply grids to image uploads What's causing the login issue? Single click activation of the Create Event modal Error in browser console when using hashtag autocomplete in the composer: undefined generateIconHTML How can badges and groups be localized (multilingual)? Exclude staged users from Watching? Shared Draft as default New Topic Allow AI Persona/Agent to respond only to @mentions, not to replies to its posts Adding a configurable delay to AI Agent responses Bidirectional sync between Discourse Topics/Categories and GitHub/Gitlab Issue Trackers "Key" and "Value" from the Wrap Modal are not translatable Deprecating .hbs file extension in themes and plugins New topic title input (#reply-title) remains LTR in RTL sites — fix still not effective (2026) Opening forum goes to topics 1 day ago, not recent topics Missing field 'text' (in 'mainEntity.suggestedAnswer') Current Projects - March 2026 Error loading route Caused by plugin 'discourse-subscriptions' User-specific 502 errors after login — traced to DiscourseUpdates.has_unseen_features? Force Mobile Homepage Documentation Plugin - Index Topic not working after Restore Returning bumping after editing last post Move 'whisper' functionality Any updates on the best way to create a HTML archive of a static site? Connect Discourse to WeChat Mini Program Send email notification only when @mentioned Include the Signatures plugin on more hosted plans
When dragging an unselected image in a rich text editor, it is uploaded repeatedly
@Noble_Fish · 2026-05-09 · via Discourse Meta - Latest posts

1

I am not sure whether this is a design issue, but for now I will place it in this category.

Upload an image in the rich text editor:

  • If you click on it (which selects it) and then drag it, the image will be moved. :smiley:
  • If you drag it without first clicking on it, it will be treated as a new image resource and the upload operation will be performed again… :sweat_smile:

I am confused by the latter scenario, because I think that regardless of whether you click on it or not, dragging should move the image’s position rather than re-uploading it. :slightly_smiling_face:
If this is not a bug but an intentional design, anyone is welcome to tell me in what scenario repeated uploading would be used. :grinning_face_with_smiling_eyes:

2 Likes

2

I can’t repro this :woman_shrugging: Maybe someone else will.

What browser are you using?

Edge browser, version 145.0.3800.82, I just updated to 148.0.3967.54 but it did not improve.

Yeah, I hope someone else can successfully reproduce it. :face_with_head_bandage:
I can only confirm that this issue does exist, but I don’t know the specific cause.
Initially, a user on my website complained to me that they encountered this issue when dragging an image they had uploaded. At that time, I also had difficulty reproducing it unless I directly copied the Markdown that the user used to upload that image. It seems to be related to both the website and the attachment itself (the images with issues all seem to be PNG files), and I couldn’t reproduce it on Meta either (even if I uploaded the same attachment to Meta), so this issue has been put aside.
On the day I created this topic, I had a sudden idea and tried the PNG image of the Discourse default logo from the video, and finally succeeded in reproducing the issue on Meta. Perhaps you can use ![image](/images/discourse-logo-sketch-small.png) to make some attempts?

In summary, this is indeed a borderline case that is very difficult to trigger, but once triggered, it will stably trigger for the same attachment of the same site.

4

Nope sorry, no matter what way I try to drag, even with the example logo, I can’t trigger the problem.

I don’t have Edge ready to test, so perhaps it’s browser related. Can you test in a Chromium browser?

Hello, attempting (in Edge, Version 148.0.3967.54 (Official build) (64-bit)) to help trying to repro this bug…

lily-face

This is, in RTE, my uploaded cat then dragged up and above this text.

…uploading my cat pic below…


This is text after my cat image

2 Likes

6

Isn’t Edge a Chromium browser?

Hmm… I tried to recreate this bug, but thus far, I could not. If you can be any more specific I will try again and report my results.

2 Likes

I do not understand – how are you able to drag it without first clicking on it?

I see that in your post, there are two occurrences of ![image](/images/discourse-logo-sketch-small.png). Is it a product of successful reproduction? That is: can you reproduce using the small logo, but cannot reproduce using your cat’s picture?

First place the cursor on another piece of text, then press and hold the left mouse button on the image and drag directly. If you click (and release) first and then drag, it will actually have selected the image.

OK, in Edge, and using RTE, starting fresh to try…

uploading a new image below…

… and now dragging the image to down below the next paragraph..

Here is the next paragraph…

This is the next paragraph. I will now drag the image down below here…

syl_monster

In the above test (performed in latest Edge, and RTE in Discourse composer), dragging the previously uploaded image did just seem to work correctly – I did not see indication to re-upload?

Perhaps you are lucky enough to have never encountered this bug :smiley: but regardless, in the video below I demonstrate the key press flow that triggers the two operations, upload and move, using KeyCastOW, so that you and others can clearly understand the specific process.

Upload - Press the left mouse button and drag directly

Move - Press the left mouse button to click and then drag

By the way, I just tested using your cat (![image](https://d11a6trkgmumsb.cloudfront.net/original/4X/c/8/4/c84af711be6e56b1fa1500710edd6869364935da.png)) and your other image (![image](https://d11a6trkgmumsb.cloudfront.net/original/4X/8/9/8/89898942816045cca658884fa050bacd20f3cdfb.jpeg)), and found that neither of them could trigger this issue.

I suggest you use ![image](/images/discourse-logo-sketch-small.png) for testing; at least it is known to me as a test material that can reliably reproduce the issue. If you cannot reproduce the issue using it, perhaps you are just that lucky. :wink:

Could it be that this issue is limited to this particular image?


Below 2 are pasted in composer in RTE mode…

![image](/images/discourse-logo-sketch-small.png)

![image](/images/discourse-logo-sketch-small.png)


Below 2 more are pasted into composer in Markdown mode

!\[image\](/images/discourse-logo-sketch-small.png)
image

In this latter scenario, are you saying think that 2 different instances/copies of the image/file are being uploaded and that 2 files are then being stored on the server?

Or, that the pasted image is not actually uploaded to the server until (after uploading) you then click on it (and then only that one instance of the image/file is uploaded and stored on the server)?

No, there are multiple images on my own website that can reproduce the issue, but I haven’t done much investigation on Meta and have only found this one case so far.

No, in fact Discourse is smarter than we thought. For example:
A user on my website uploaded an image, and under the Markdown editor it appears like this:

...
![pic|370x494, 40%](upload://jqrVvqCoYL0wuOvUZWTDwhYw8IU.jpeg)
...

I obtained its full link through the browser’s developer tools: https://example.com/uploads/default/original/1X/8826bc6c1be0e501979df4a004b9b2ae51c50320.jpeg . So I referenced the image in the editor using the full link format:

![image](https://example.com/uploads/default/original/1X/8826bc6c1be0e501979df4a004b9b2ae51c50320.jpeg)

After dragging without clicking (triggering an upload) in the rich-text editor, the content in the Markdown editor becomes:

![image](https://example.com/uploads/default/original/1X/8826bc6c1be0e501979df4a004b9b2ae51c50320.jpeg)

![image|370x494](upload://jqrVvqCoYL0wuOvUZWTDwhYw8IU.jpeg)

It can be seen that although Discourse shows that dragging triggers an upload, the image actually appears as ![image|370x494](upload://jqrVvqCoYL0wuOvUZWTDwhYw8IU.jpeg) , which corresponds to the same attachment originally uploaded by that user as https://example.com/uploads/default/original/1X/8826bc6c1be0e501979df4a004b9b2ae51c50320.jpeg .

  • Dragging an image referenced in the ![image|370x494](upload://jqrVvqCoYL0wuOvUZWTDwhYw8IU.jpeg) format also results in the same handling.

From this perspective, triggering an upload again does not actually take up additional storage space — only the first uploaded file truly occupies server storage. So it’s just a user experience issue: users get confused about “why does dragging an image (when I click and then drag without releasing the mouse) fail to move as expected, but instead shows an ongoing upload and duplicates the image?”

1 Like

Then I would conclude, for now, that (good news!) it seems that the image is not actually uploaded repeatedly, but that only one instance it is uploaded(?)

1 Like