Bumps [action_text-trix](https://github.com/basecamp/trix) from 2.1.15 to 2.1.16. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/basecamp/trix/releases">action_text-trix's releases</a>.</em></p> <blockquote> <h2>v2.1.16</h2> <h2>Security</h2> <ul> <li>Attachment <code>href</code> attributes are now validated using <code>DOMPurify.isValidAttribute()</code> before rendering as anchor tags. <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> </ul> <h2>Added</h2> <ul> <li>New <code>.editorElements</code> and <code>.editorElement</code> properties have been added to <code>&lt;trix-toolbar&gt;</code> elements for accessing associated <code>&lt;trix-editor&gt;</code> elements. <a href="https://github.com/seanpdoyle"><code>@seanpdoyle</code></a> <a href="https://redirect.github.com/basecamp/trix/issues/1127">#1127</a></li> <li><code>&lt;trix-editor&gt;</code> elements can now function without an associated <code>&lt;input type=&quot;hidden&quot;&gt;</code> element when using <code>ElementInternals</code>. This is configured by setting <code>willCreateInput = false</code> in the <code>before-trix-initialize</code> event and using the <code>[name]</code> attribute for form submissions. <a href="https://github.com/seanpdoyle"><code>@seanpdoyle</code></a> <a href="https://redirect.github.com/basecamp/trix/issues/1128">#1128</a></li> <li>Alt text can now be set on attachment preview images via <code>attachment.setAttributes({ alt: &quot;...&quot; })</code> in <code>trix-attachment-add</code> event handlers. <a href="https://github.com/seanpdoyle"><code>@seanpdoyle</code></a> <a href="https://redirect.github.com/basecamp/trix/issues/1198">#1198</a></li> <li>Attachment preview URLs can be customized using the new <code>setPreviewURL()</code> and <code>getPreviewURL()</code> methods on <code>ManagedAttachment</code>, accessible from event handlers. <a href="https://github.com/seanpdoyle"><code>@seanpdoyle</code></a> <a href="https://redirect.github.com/basecamp/trix/issues/1210">#1210</a></li> <li>A new <code>trix-before-render</code> event is dispatched before rendering, with a customizable <code>render</code> property for advanced use cases like morph-style rendering integration. <a href="https://github.com/seanpdoyle"><code>@seanpdoyle</code></a> <a href="https://redirect.github.com/basecamp/trix/issues/1252">#1252</a></li> <li>When no associated <code>&lt;input&gt;</code> element is present, HTML content within <code>&lt;trix-editor&gt;</code> tags is now safely sanitized and loaded as the initial editor value. <a href="https://github.com/seanpdoyle"><code>@seanpdoyle</code></a> <a href="https://redirect.github.com/basecamp/trix/issues/1253">#1253</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/flavorjones"><code>@flavorjones</code></a> made their first contribution in <a href="https://redirect.github.com/basecamp/trix/pull/1234">basecamp/trix#1234</a></li> <li><a href="https://github.com/MatheusRich"><code>@MatheusRich</code></a> made their first contribution in <a href="https://redirect.github.com/basecamp/trix/pull/1162">basecamp/trix#1162</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/basecamp/trix/compare/v2.1.15...v2.1.16">https://github.com/basecamp/trix/compare/v2.1.15...v2.1.16</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/basecamp/trix/commit/5c8b688fa36282bb1115ee7cd83d9b2d53e401e2"><code>5c8b688</code></a> v2.1.16</li> <li><a href="https://github.com/basecamp/trix/commit/73c20cf03ab2b56c0ef9c9b1aaf63f2de44f4010"><code>73c20cf</code></a> Fix XSS vulnerability in attachment href rendering</li> <li><a href="https://github.com/basecamp/trix/commit/07a5e47f673807db98a4d538894cbc0d27b1f017"><code>07a5e47</code></a> Make &quot;yarn version&quot; commit changes to the ruby gem, too</li> <li><a href="https://github.com/basecamp/trix/commit/17715149d507310a5b11b0ff08f6ebbdcdb62b6a"><code>1771514</code></a> Merge pull request <a href="https://redirect.github.com/basecamp/trix/issues/1271">#1271</a> from basecamp/flavorjones/ci-sauce-labs</li> <li><a href="https://github.com/basecamp/trix/commit/04f803ed4be592659e0ff23845b9e54a231514a9"><code>04f803e</code></a> ci: stabilize Sauce Labs with SC5 tunnel</li> <li><a href="https://github.com/basecamp/trix/commit/93f5270c39fa088d8b9fc9055de64dae46811c75"><code>93f5270</code></a> Merge pull request <a href="https://redirect.github.com/basecamp/trix/issues/1270">#1270</a> from basecamp/flavorjones/fix-minitest-errors</li> <li><a href="https://github.com/basecamp/trix/commit/31045c96af37c326978b7fade7ccd89d056bedb2"><code>31045c9</code></a> action_text-trix: pin minitest to &lt; 6</li> <li><a href="https://github.com/basecamp/trix/commit/13eebdad4a2f5f7a43d23a34c91e9903c47471c0"><code>13eebda</code></a> yarn build</li> <li><a href="https://github.com/basecamp/trix/commit/696643d7c2f4bdf595fff928e3d3f7fdea17b3a6"><code>696643d</code></a> Merge pull request <a href="https://redirect.github.com/basecamp/trix/issues/1269">#1269</a> from basecamp/flavorjones/revert-mousedown-click-change</li> <li><a href="https://github.com/basecamp/trix/commit/42f69dd4c25a688cd546d7e2efe9865cab64e3e8"><code>42f69dd</code></a> Revert &quot;Toolbar Button: Handle <code>click</code> instead of <code>mousedown</code>&quot;</li> <li>Additional commits viewable in <a href="https://github.com/basecamp/trix/compare/v2.1.15...v2.1.16">compare view</a></li> </ul> </details> <br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/openstreetmap/openstreetmap-website/network/alerts). </details> You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/6662 -- Commit Summary -- * Bump action_text-trix from 2.1.15 to 2.1.16 -- File Changes -- M Gemfile.lock (8) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/6662.patch https://github.com/openstreetmap/openstreetmap-website/pull/6662.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6662 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/[email protected]>
_______________________________________________ rails-dev mailing list [email protected] https://lists.openstreetmap.org/listinfo/rails-dev
