Skip to main content

[Help Center API] Content processing with AI removes multicode-component web components during API imports

When creating or updating articles via API with AI mode enabled, the AI processing step is converting <multicode-component> web components into simple <pre><code> tags, stripping newlines in the process.

This prevents programmatically importing articles with multi-syntax code blocks.

Steps to Reproduce:

  1. Create article via POST/PATCH API request with AI mode enabled

  2. Include a properly formatted <multicode-component> in the body HTML

  3. Observe that the saved article has <pre><code> instead

Post type
68097ad297a301c207158357

Log in to comment and vote

No comments yet

Be the first to share your thoughts.