[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

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board

Help Center

Date

10 months ago

Author

Matt Jones

Subscribe to post

Get notified by email when there are changes.