mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-21 09:07:49 +08:00
Adjusts the rich editor onebox handling to ensure the full protocol URLs are passed to the inline/full onebox endpoints, but when they are resolved, we keep the original textual content as the stored URLs for the onebox nodes, because we need to keep them as-is when serializing them back to Markdown. Additionally, it now re-uses the `isTopLevel` logic for inline oneboxes, so top level domains like `example.com` are not mistakenly inline oneboxed. |
||
|---|---|---|
| .. | ||
| features | ||
| engine.js | ||
| index.js | ||
| options.js | ||
| setup.js | ||