CKEditor inside Paragraphs cannot be focused or edited with Gin 5.0.14
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3592985. -->
Reported by: [handkerchief](https://www.drupal.org/user/3090607)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>After updating Gin from version 5.0.12 to 5.0.14, CKEditor fields embedded inside Paragraphs can no longer be focused or edited.</p>
<p>When clicking inside a CKEditor field, the surrounding Paragraph container receives focus instead of the editor. It is also not possible to select text inside the editor. As a result, CKEditor fields inside Paragraphs are effectively unusable.</p>
<p>The issue does not occur with Gin 5.0.12.</p>
<p>Gin 5.0.13 has not been tested.</p>
<p>P.S.: I don't know if the problem only occurs with nested elements or not, since I was only able to test it within paragraphs.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<ol>
<li>Install and enable the Gin admin theme.</li>
<li>Use Gin version 5.0.14.</li>
<li>Create or edit a content type containing a Paragraphs reference field.</li>
<li>Add a Paragraph type containing a formatted text field using CKEditor.</li>
<li>Edit a node and add or open the Paragraph.</li>
<li>Click inside the CKEditor field.</li>
<li>Try to place the cursor or select text inside the editor.</li>
</ol>
<p><strong>Environment</strong><br>
Drupal core: 11.3.11<br>
Gin: 5.0.14<br>
Paragraphs: 8.x-1.20<br>
CKEditor: CKEditor 5 provided by Drupal core<br>
Browser: Firefox 151.0.1</p>
issue