AI CCC markdown editor integration
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3547033. --> Reported by: [kristen pol](https://www.drupal.org/user/8389) Related to !63 !22 >>> <p>--- AI TRACKER METADATA ---<br> Update Summary: AI CCC markdown editor integration<br> Additional Collaborators: @kristen pol<br> AI Tracker found here: <a href="https://www.drupalstarforge.ai/">https://www.drupalstarforge.ai/</a><br> --- END METADATA ---</p> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Integrate a markdown editor into CCC</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>There are two parts:</p> <ol> <li>Let users use markdown formatting when creating content</li> <li>Save the content as markdown or at least inject context as markdown (we've also discussed storing as JSON)</li> </ol> <p>Many existing dedicated markdown editors are outdated, e.g.</p> <p><a href="https://www.drupal.org/project/markdown">Markdown</a><br> <a href="https://www.drupal.org/project/editor_md">Editor.md</a><br> <a href="https://www.drupal.org/project/simplemde">SimpleMDE Markdown Editor</a></p> <p>So we should use a CKEditor5 approach, see:</p> <p><span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/drupal/issues/3227354" title="Status: Closed (fixed)">#3227354: Add support for ckeditor5-autoformat</a></span><br> <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-6"><a href="https://www.drupal.org/project/drupal/issues/2698035" title="Status: Closed (works as designed)">#2698035: Add markdown system for HTML-formatted text</a></span></p> <p><a href="https://ckeditor.com/docs/ckeditor5/latest/features/markdown.html">https://ckeditor.com/docs/ckeditor5/latest/features/markdown.html</a></p> <p>This is beta but we should test:</p> <p><a href="https://www.drupal.org/project/ckeditor5_markdown_editor">CKEditor 5 Markdown Editor</a></p> <p>Obsolete:</p> <p><a href="https://www.drupal.org/project/ckeditor_markdown">CKEditor Markdown</a></p> <p>For converting to MD to HTML, see <a href="https://www.drupal.org/project/markdown_easy">Markdown Easy</a> but we don't want HTML</p> <p>There is also this for uploading MD files that is beta: <a href="https://www.drupal.org/project/markdown_field_formatter">Markdown field formatter</a></p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <ul> <li>Research and test options</li> <li>Choose approach</li> <li>Update code</li> <li>Review and test</li> <li>Merge</li> </ul> > Related issue: [Issue #3525122](https://www.drupal.org/node/3525122) > Related issue: [Issue #3545824](https://www.drupal.org/node/3545824)
issue