Integrate with the MDX editor
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3580850. -->
Reported by: [unqunq](https://www.drupal.org/user/933228)
Related to !32 !31
>>>
<p>The current Field Widget Action works very well but it has been discussed in the latest AI Initiative Sprint Review that it will be a better UX if the triggering could be done directly on the <a href="https://project.pages.drupalcode.org/ai/1.3.x/developers/mdxeditor/" title="MDX editor">MDX editor</a>.</p>
<p>So the task is to create a custom button on the MDX Toolbar. The button should open a window to aid with uploading a file or entering a web address which will be used by the Document Loader to fetch the content.</p>
<p>Think of one or more fields in that form to be used in case the user requires an authenticated call to an API endpoint.</p>
<p>Look into whether this functionality should live inside the Document Loader module or a separate submodule (not all use cases of Document Loader might include MDX).</p>
> Related issue: [Issue #3574414](https://www.drupal.org/node/3574414)
> Related issue: [Issue #3574413](https://www.drupal.org/node/3574413)
> Related issue: [Issue #3547034](https://www.drupal.org/node/3547034)
> Related issue: [Issue #3581363](https://www.drupal.org/node/3581363)
> Related issue: [Issue #3585786](https://www.drupal.org/node/3585786)
issue