Plugin shouldn't show any fields if no text is selected
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3557016. -->
Reported by: [damienmckenna](https://www.drupal.org/user/108450)
Related to !1117
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>When opening a ckeditor plugin, if no text is selected the UI shows the "You must select some text before you can summarize it." message, but then will also show some of the other fields from the specific plugin, e.g. the Tone plugin shows the "Choose tone" selector.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Don't show anything in the ckeditor plugin popup (particularly for the Tone plugin) if no text has been selected.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p>Don't show anything in the ckeditor plugin popup (particularly for the Tone plugin) if no text has been selected.</p>
<h3>Optional: Other details as applicable (e.g., User interface changes, API changes, Data model changes)</h3>
<p>Don't show anything in the ckeditor plugin popup (particularly for the Tone plugin) if no text has been selected.</p>
issue