<h3 dir="auto">Description</h3>
<p dir="auto">Add ability to dismiss the kramdown directions on larger screens. This allows users to expand the <code class="notranslate">textarea</code> to be the full width of the page, providing a cleaner and more focused writing experience. See screenshots for reference. On smaller screens the dismiss button is not visible since the kramdown directions are moved to the "Help" tab.</p>
<h3 dir="auto">Todos</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" aria-label="Incomplete task"> Add tests</li>
</ul>
<h3 dir="auto">Screenshots</h3>
<p dir="auto">Before dismissing:<br>
<a href="https://github.com/user-attachments/assets/735a4707-58cc-4716-907e-62a6de06721c">Screenshot.2025-08-30.at.10.21.21.PM.png (view on web)</a><br>
After dismissing:<br>
<a href="https://github.com/user-attachments/assets/ee528119-1a42-46d0-9b60-6dfce5dd744d">Screenshot.2025-08-30.at.10.27.11.PM.png (view on web)</a></p>
<h3 dir="auto">How has this been tested?</h3>
<p dir="auto">I've manually tested the functionality while running the app locally. Will also add tests.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/6370'>https://github.com/openstreetmap/openstreetmap-website/pull/6370</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6370/commits/bc54d8108445570528c35631219c97adcf3031cf" class="commit-link">bc54d81</a>  Add dismiss button for kramdown directions</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6370/files">2 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6370/files#diff-0d7657292b610e8871d2d00d8468108ac06888d1033743b7e645dc87e9bfec71">app/assets/javascripts/richtext.js</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6370/files#diff-37a91b9b8a670076e653c22c9f2009388c0204f378bebe5bb625414400d75010">app/views/shared/_richtext_field.html.erb</a>
    (3)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6370.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/6370.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6370.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/6370.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6370">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLM2ZUKS7GU327XZZKD3QJMUBAVCNFSM6AAAAACFHP4HVGVHI2DSMVQWIX3LMV43ASLTON2WKOZTGM3DSNRYHA2DMMQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLNEC54XEH6XD7YX7ST3QJMUBA5CNFSM6AAAAACFHP4HVGWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHMRWK5RY.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/6370</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/6370",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6370",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>