mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-19 00:22:49 +08:00
Automatically triggers uploads for existing images in the current ProseMirror document when they contain a `data:*` `src`, replacing them inline when the upload completes. Images in the form `<img src="data:image/png;base64,...">` are often the result of copying from other authoring tools, like Google Docs. With this change, instead of skipping them entirely, they'll be uploaded and the resulting `upload://hash` identifier will be used. |
||
|---|---|---|
| .. | ||
| category_templates_spec.rb | ||
| default_to_subcategory_spec.rb | ||
| dont_feed_the_trolls_popup_spec.rb | ||
| drafts_spec.rb | ||
| post_validation_spec.rb | ||
| prosemirror_editor_spec.rb | ||
| review_media_unless_trust_level_spec.rb | ||
| template_validation_spec.rb | ||